forked from aws/aws-dynamodb-encryption-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
95 lines (95 loc) · 2.57 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
sudo: false
language: python
matrix:
include:
# CPython 2.7
- python: 2.7
env: TOXENV=py27-travis-local-slow
- python: 2.7
env: TOXENV=py27-travis-integ-slow
- python: 2.7
env: TOXENV=py27-travis-isolation
# CPython 3.4
- python: 3.4
env: TOXENV=py34-travis-local-slow
- python: 3.4
env: TOXENV=py34-travis-integ-slow
- python: 3.4
env: TOXENV=py34-travis-isolation
# CPython 3.5
- python: 3.5
env: TOXENV=py35-travis-local-slow
- python: 3.5
env: TOXENV=py35-travis-integ-slow
- python: 3.5
env: TOXENV=py35-travis-isolation
# CPython 3.6
- python: 3.6
env: TOXENV=py36-travis-local-slow
- python: 3.6
env: TOXENV=py36-travis-integ-slow
- python: 3.6
env: TOXENV=py36-travis-isolation
# CPython 3.7
# xenial + sudo are currently needed to get 3.7
# https://github.com/travis-ci/travis-ci/issues/9815
- python: 3.7
env: TOXENV=py37-travis-local-slow
dist: xenial
sudo: true
- python: 3.7
env: TOXENV=py37-travis-integ-slow
dist: xenial
sudo: true
- python: 3.7
env: TOXENV=py37-travis-isolation
dist: xenial
sudo: true
# Upstream tests
- python: 2.7
env: TOXENV=test-upstream-requirements-py27
# xenial + sudo are currently needed to get 3.7
# https://github.com/travis-ci/travis-ci/issues/9815
- python: 3.7
env: TOXENV=test-upstream-requirements-py37
dist: xenial
sudo: true
# MyPy
# Disabled pending completion of integration
# https://github.com/aws/aws-dynamodb-encryption-python/issues/66
# - python: 3.6
# env: TOXENV=mypy-py2
# - python: 3.6
# env: TOXENV=mypy-py3
# Security
- python: 3.6
env: TOXENV=bandit
# Linting
- python: 3.6
env: TOXENV=doc8
- python: 3.6
env: TOXENV=readme
- python: 3.6
env: TOXENV=docs
# Disabled pending completion of cleanup
# https://github.com/aws/aws-dynamodb-encryption-python/issues/67
# - python: 3.6
# env: TOXENV=flake8
# - python: 3.6
# env: TOXENV=pylint
# - python: 3.6
# env: TOXENV=flake8-tests
# - python: 3.6
# env: TOXENV=pylint-tests
- python: 3.7
dist: xenial
env: TOXENV=flake8-examples
- python: 3.7
dist: xenial
env: TOXENV=pylint-examples
install:
# Clean up because Travis doesn't
# https://github.com/travis-ci/travis-ci/issues/7940
- if [[ $TRAVIS_SUDO ]]; then sudo rm -f /etc/boto.cfg; fi
- pip install tox
script: travis_wait 60 tox -- -vv