-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (60 loc) · 1.23 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
60
61
62
63
64
65
66
67
68
language: python
sudo: false
cache:
- pip
- directories:
- ${HOME}/.cache
install:
- chmod a+x ./.travis/install.sh ./.travis/run.sh ./.travis/upload_coverage.sh
- ./.travis/install.sh
script:
- ./.travis/run.sh
after_success:
- ./.travis/upload_coverage.sh
jobs:
include:
# pycodestyle Style Checking
- python: 3.6
env: TOXENV=pycodestyle
# Linux Builds
- python: 2.7
env: TOXENV=py27
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7-dev
env: TOXENV=py37
- python: nightly
env: TOXENV=py37
# OSX Builds
- language: generic
os: osx
env: TOXENV=py27
- language: generic
os: osx
env: TOXENV=py35
- language: generic
os: osx
env: TOXENV=py36
- language: generic
os: osx
env: TOXENV=py37
- stage: deploy
python: 3.6
install: true
script: python setup.py sdist
after_success: true
deploy:
provider: pypi
user: ${PYPI_USER}
password:
secure: ${PYPI_PASSWORD}
skip_cleanup: true
on:
tags: true
allow_failures:
- python: nightly
env: TOXENV=py37
notifications:
email: false