-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
47 lines (43 loc) · 938 Bytes
/
.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
sudo: true
dist: xenial
language: python
cache:
directories:
- $HOME/.cache/pip
matrix:
include:
# CPython 3.7
- python: 3.7
env: TOXENV=py37-local
stage: Client Tests
- python: 3.7
env: TOXENV=py37-integ
stage: Client Tests
- python: 3.7
env: TOXENV=py37-examples
stage: Client Tests
# CPython 3.8
- python: 3.8
env: TOXENV=py38-local
stage: Client Tests
- python: 3.8
env: TOXENV=py38-integ
stage: Client Tests
- python: 3.8
env: TOXENV=py38-examples
stage: Client Tests
# Security
- python: 3.7
env: TOXENV=bandit
stage: Static Checks
# Linting
- python: 3.7
env: TOXENV=lint
stage: Static Checks
# MyPy
# need to sort out some issues with optional values
#- python: 3.7
# env: TOXENV=mypy
# stage: Static Checks
install: pip install tox
script: tox -- -vv