-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
98 lines (93 loc) · 2.85 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Config file for automatic testing at travis-ci.org
dist: xenial
sudo: false
language: python
matrix:
include:
- python: 3.7
env: TOXENV=lint
- python: 2.7
env: TOXENV=py27
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
- python: pypy
env: TOXENV=pypy
- name: "Python 2.7 on Windows"
os: windows
language: shell
before_install:
- choco install python2
- python --version
- python -m pip install --upgrade pip
- pip install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py27
- PATH=/c/Python27:/c/Python27/Scripts:$PATH
- name: "Python 3.5 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.5.4
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py35
- PATH=/c/Python35:/c/Python35/Scripts:$PATH
- name: "Python 3.6 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.6.7
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py36
- PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: "Python 3.7 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.7.2
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py37
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: "Python 3.8 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- python --version
- python -m pip install --upgrade pip
- pip3 install --upgrade virtualenv wheel
- virtualenv $HOME/venv
- source $HOME/venv/Scripts/activate
env:
- TOXENV=py38
- PATH=/c/Python38:/c/Python38/Scripts:$PATH
script: tox
install:
- pip install tox
after_success:
# Report coverage results to codecov.io
# and export tox environment variables
- pip install codecov
- codecov -e TOXENV TRAVIS_OS_NAME