-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
124 lines (120 loc) · 3.16 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
language: python
sudo: required
cache: pip
env:
global:
- PYTHONUNBUFFERED=yes
stages:
- lint
- test
matrix:
include:
- python: 3.8.0
env: TOXENV=flake8
os: linux
dist: xenial
stage: lint
- python: 3.8.0
env: TOXENV=typecheck
os: linux
dist: xenial
stage: lint
- python: 3.8.0
env: TOXENV=apicheck
os: linux
dist: xenial
stage: lint
- python: 3.8.0
env: TOXENV=docstyle
os: linux
dist: xenial
stage: lint
- python: 3.8.0
env: TOXENV=bandit
os: linux
dist: xenial
stage: lint
- python: 3.6.3
env: TOXENV=3.6 RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.4
env: TOXENV=3.6 RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.5
env: TOXENV=3.6 RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.6
env: TOXENV=3.6 RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.7
env: TOXENV=3.6 IDENT="3.6.7" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.8
env: TOXENV=3.6 IDENT="3.6.8" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.9
env: TOXENV=3.6 IDENT="3.6.9" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.0
env: TOXENV=3.7 RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.1
env: TOXENV=3.7 IDENT="3.7.1" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.2
env: TOXENV=3.7 IDENT="3.7.2" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.3
env: TOXENV=3.7 IDENT="3.7.3" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.4
env: TOXENV=3.7 IDENT="3.7.4" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.5
env: TOXENV=3.7 IDENT="3.7.5" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.8.0
env: TOXENV=3.8 IDENT="3.8.0" RUN_SUITE=y
os: linux
dist: xenial
stage: test
before_install:
install:
- python -m pip install aiocontextvars
- python -m pip install --upgrade tox
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: BjXwFkOJcCcfMgK014fv5QnN+exFNTEBIPTGKCu+CXQWYiTHsLEDzdbfG3tXZrflmgEsSGFXB88o+A6x49PF0CTgAz55yTDu5gtJ3L7csFeABH4ntshVuvthfw0wLB8tlLGzXfOynjtOWqJcHJoK69WrKvNY3MvPwzwKobJOtLMfI0AHrJMgtJPiIz8iiZ5S9h3TsZX2YSLcnuc86zdipsGmZnRcjTKzFGqSLS1CazXc39MAKgYPYH+SKV8zo/0PkULZycUmKKEe/jMfSGIHfeD5g8JacndgbVh/btybCvkWBSAy7sOnwbc5TH+Q2PO2zDOE2S0tXF5mOvWq7zxZdVa0Slz69AbHUDocyZu6+JQ2AIbu39yEfwZZ1EJMp/U0+SUUvnA8C0jEsYkRv/PlpYG8AV+O0EDOa+EI1Ha44TD0z4U4y0bbkKRR2hi+6RTbB09EWSRQLlzq0ZVt3AA/wLxSpMFYuGR8NjUEMx7YI5ZB9rORRZaz07ssu6fnvXk7b/3tJ9lg5tfEeghrDTMXKC4IymB76Apm3nw7ufOv6Xk9o8R4Xake2tIlY08L/EjtTghfFZqeJ2qFIJ/76RRzOKOvGFrsjOLer/gpA4hFcIsReOO1MazjXaNbKwOuM0pfuaEzbaEKM36NUyCjijaPOWIfqvkJqBp4FCHafHJW3sw=