-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
39 lines (35 loc) · 1.17 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
language: python
jobs:
include:
- name: "Python 3.8 on Linux"
os: linux
# if: branch = master
dist: xenial
language: python
python: 3.8
before_install:
- sudo rm /usr/bin/python
- sudo ln -s /usr/bin/python3 /usr/bin/python
- python3 -m pip install tox-travis
- name: "Python 3.8 on macOS"
os: osx
# if: branch = master
osx_image: xcode11.6 # Python 3.8.0 running on macOS 10.14.6
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- python3 --version
- python3 -m pip install --upgrade pip
- sudo pip install tox-travis
- name: "Python 3.8 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
# if: branch = master
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.8.8
- python --version
- python -m pip install --upgrade pip
- python -m pip install tox-travis
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
install: pip install --upgrade pip
script:
- tox -e short-test