Skip to content

Commit e4472f7

Browse files
update travis config
1 parent f42e119 commit e4472f7

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

.travis.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,38 @@
1-
dist: xenial
21
language: python
3-
python:
4-
- "3.5"
5-
- "3.6"
6-
- "3.7"
7-
- "3.8-dev"
8-
- "nightly"
9-
- "pypy3.5"
2+
matrix:
3+
allow_failures:
4+
- os: osx
5+
- os: windows
6+
include:
7+
- name: "Python on Linux"
8+
dist: xenial
9+
python:
10+
- "3.5"
11+
- "3.6"
12+
- "3.7"
13+
- "3.8-dev"
14+
- "nightly"
15+
- "pypy3.5"
16+
- name: "Python 3.7 on Windows"
17+
os: windows
18+
language: shell
19+
before_install: choco install python
20+
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
21+
- name: "Python 3.7 on macOS"
22+
os: osx
23+
osx_image: xcode10.2
24+
language: shell
1025
cache:
1126
directories:
1227
- $HOME/.cache/pip
1328
- .pytest_cache
1429
install:
15-
- pip install -r requirements.txt
30+
- pip3 install --upgrade pip
31+
- pip3 install -r requirements.txt
1632
script:
1733
- pytest -v
1834
before_deploy:
19-
- python setup.py bdist_wheel
35+
- python3 setup.py bdist_wheel || python setup.py bdist_wheel
2036
deploy:
2137
- provider: pypi
2238
user: $PYPI_USER

0 commit comments

Comments
 (0)