forked from robinhood/faust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
160 lines (155 loc) · 4.11 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
language: python
sudo: required
cache: pip
env:
global:
- PYTHONUNBUFFERED=yes
stages:
- lint
- test
- cython
matrix:
include:
- python: 3.7.4
env: TOXENV=flake8
os: linux
dist: xenial
stage: lint
- python: 3.7.4
env: TOXENV=typecheck
os: linux
dist: xenial
stage: lint
- python: 3.7.4
env: TOXENV=apicheck
os: linux
dist: xenial
stage: lint
- python: 3.7.4
env: TOXENV=configcheck
os: linux
dist: xenial
stage: lint
- python: 3.7.4
env: TOXENV=docstyle
os: linux
dist: xenial
stage: lint
- python: 3.7.4
env: TOXENV=bandit
os: linux
dist: xenial
stage: lint
- python: 3.7.4
env: TOXENV=spell USE_ENCHANT=y
os: linux
dist: xenial
stage: lint
- python: 3.6.0
env: TOXENV=3.6 IDENT="3.6.0" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: trusty
stage: test
- python: 3.6.1
env: TOXENV=3.6 IDENT="3.6.1" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: trusty
stage: test
- python: 3.6.2
env: TOXENV=3.6 IDENT="3.6.2" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: trusty
stage: test
- python: 3.6.3
env: TOXENV=3.6 IDENT="3.6.3" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.6.4
env: TOXENV=3.6 IDENT="3.6.4" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.6.5
env: TOXENV=3.6 IDENT="3.6.5" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.6.6
env: TOXENV=3.6 IDENT="3.6.6" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.6.7
env: TOXENV=3.6 IDENT="3.6.7" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.6.8
env: TOXENV=3.6 IDENT="3.6.8" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.6.9
env: TOXENV=3.6 IDENT="3.6.9" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.7.0
env: TOXENV=3.7 IDENT="3.7.0" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.7.1
env: TOXENV=3.7 IDENT="3.7.1" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.7.2
env: TOXENV=3.7 IDENT="3.7.2" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.7.3
env: TOXENV=3.7 IDENT="3.7.3" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.7.4
env: TOXENV=3.7 IDENT="3.7.4" RUN_SUITE=y NO_CYTHON=y
os: linux
dist: xenial
stage: test
- python: 3.7.4
env: TOXENV=3.7 RUN_SUITE=y NO_CYTHON=y
os: windows
stage: test
language: sh
before_install:
- choco install python --version=3.7.4
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- python -m pip install --upgrade pip wheel
- python: 3.7.4
env: TOXENV=3.7 IDENT= RUN_SUITE=y USE_CYTHON=y NO_CYTHON=
os: linux
dist: xenial
stage: cython
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$USE_ENCHANT" == "y" ]]; then sudo apt-get install -y enchant libenchant-dev; fi
install:
- |
if [[ "$USE_CYTHON" == "y" ]]; then
python -m pip install -U cython tox
else
python -m pip install -U tox
fi
after_success:
- |
if [[ ! -z "$IDENT" ]]; then
.tox/$TOXENV/bin/coverage xml
.tox/$TOXENV/bin/codecov -e IDENT
fi;
script: tox -v -- -v
notifications:
slack:
secure: rEeKSgjI9TLh1HCFHvM2sTNquvlFj4AhyZqObUn/Rt5mYZpUb0G9HyQZDksm+8sumWt44WDrGIxRiFh1RQW3Onww1+/DBIqORKEZNv63njC4lMjNvk97l5iVHFXqPiVcaIRS3TXgVpNkbc+Diwc0DGgDVu5X2dhe9ClRlV259F2ymt9XkaPIV7qTacbGhH1aX/2suvA023AkXCo2FX2rRNp4yReoHgLdLc7rYz5cc9IruE4QP2AzaD2pnYmX8Fs9UmXPPEh0DxTQ8/FLCg9H2OJBBE/REATjx3QHZMGKiDbDgCPu2MY6gCR/El+eu+eOl2fJ1j2Z/4iOz4vnKHMm4Qamln1WgfGWRp0w30lVvri8pYVn6lSkHC2sIJ4wg26csDCF2WHLusd9bnmYHB/IyY4oFy/wBptvZd5qRkivgsNeD/eOwuVAjryN2qx0kRE6iKACsch3+NAEb1d5kNwebLQ78ETkmwpQOpBwHOngtYo1xbi93VE1DaWJjMO5tStE7dDAou7RQwaApe+H9f6PBu5tuVQgQvhLhlg9laFia+z7lkyb7kwnJ5QG3OimVM9I2fxVtxMPYgnZ/XbPR++9LcwyMRJh9pmYuVzyyHxQZTT8AgHjrPpoRc9meKgWYUhh4AAG/4egviJd0i/DCtV9pOSyOzsXJp2a5B08vA9uueg=