-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
59 lines (47 loc) · 1.97 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# For example with nox, see:
# https://github.com/theacodes/nox/blob/master/.travis.yml
# branches:
# only:
# master
os:
- linux # TODO: test on other OSs?
language: python
# python:
# - '2.7'
# - '3.5'
# - '3.6'
# # - '3.7' # Explicitly included below for docs building
# # - "3.7-dev" # 3.7 development branch
# # - "3.8-dev" # 3.8 development branch
# # - "nightly" # nightly build
matrix:
include:
- python: '3.7'
dist: xenial # required for Python >= 3.7
env: NOXSESSIONS="tests-3.7"
- python: '3.9' # Also test docs with latest supported python version
dist: xenial
env: NOXSESSIONS="tests-3.9"
- python: '3.8' # Our current target python version
dist: xenial
env: NOXSESSIONS="coverage-3.8 lint docs"
cache: pip
install:
- pip install nox
script:
- nox --non-interactive -s $NOXSESSIONS
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: schuderer
password:
secure: R75UTZ4T0U5W2BUUkZQTjnebXo98rlrZnjurKbq65D2ocZL5rXGnEk6y4USU9GxH1x4wVbiq1KjG9lowtu6D1BL8WUucxj0UIVuB12V7pNgBMfOu871CwoZgnRtec6TKDHj41AOAXXA8C3WQoEoPuWxCzT8nTrdRcOI0+YM7jrP/buaf7J0URKXjXJsCieOYaFwqTmEZuGyNw0colR2jGo3JOrHezmWSEOrTIGwgzr4bsGFhfPKlAdL4az6g3CrVG9TclljAU4eYDIieJ7hFv4tpzo7RObb4MzbcE7FmMWeg82cpIbVcU3Cr1pupQaOGlIWldy3Ix4sDb0DyabSWJJfaGceR4IHH0s0fyZk56mT/vB0CPT+lV/25H9w1JsfSpywPqRUxk2LdUMtJVBFxC6kta2nZoVum8Yc7P+BaBEhXWwFiNuMzeH/Hmhfh4CKCc5fzyWnolDSqudSn523D1dS/WvZnmeUdjglrBB39vKsZXQUVyAXzFCZ8uDOlem1RbFlJu3yK5OGEhFSfDuIGgbxVOGJGMDmyXT4eJAnNCh4kNTC3jnLMED/n1ilOhkmAhSZ9i8bjdaJHppTaIUeB7eWCinib1QPGHu4WshVzLs+euivVBWXqfnY8fTn5EYLxjVlqXY2jCT4nE8FqKsYGxoIiMO3rRDwXsYi2t3fJcyE=
on:
tags: true
repo: schuderer/mllaunchpad
python: 3.8
condition: "NOXSESSIONS=\"coverage-3.8 lint docs\""
# Assuming you have installed the travis-ci CLI tool, after you
# create the Github repo and add it to Travis, run the
# following command to finish PyPI deployment setup:
# $ travis encrypt --add deploy.password