Skip to content

Commit 52349d4

Browse files
authored
Merge pull request aws#88 from mattsb42-aws/py37
add CPython 3.7 CI testing and advertised support
2 parents 83bcf77 + 943a24a commit 52349d4

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.travis.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,26 @@ matrix:
2222
env: TOXENV=py36-local-slow
2323
- python: 3.6
2424
env: TOXENV=py36-integ-slow
25+
# CPython 3.7
26+
# xenial + sudo are currently needed to get 3.7
27+
# https://github.com/travis-ci/travis-ci/issues/9815
28+
- python: 3.7
29+
env: TOXENV=py37-local-slow
30+
dist: xenial
31+
sudo: true
32+
- python: 3.7
33+
env: TOXENV=py37-integ-slow
34+
dist: xenial
35+
sudo: true
2536
# Upstream tests
2637
- python: 2.7
2738
env: TOXENV=test-upstream-requirements-py27
39+
# xenial + sudo are currently needed to get 3.7
40+
# https://github.com/travis-ci/travis-ci/issues/9815
41+
- python: 3.7
42+
env: TOXENV=test-upstream-requirements-py37
43+
dist: xenial
44+
sudo: true
2845
# MyPy
2946
# Disabled pending completion of integration
3047
# https://github.com/aws/aws-dynamodb-encryption-python/issues/66
@@ -52,5 +69,9 @@ matrix:
5269
# env: TOXENV=flake8-tests
5370
# - python: 3.6
5471
# env: TOXENV=pylint-tests
55-
install: pip install tox
72+
install:
73+
# Clean up because Travis doesn't
74+
# https://github.com/travis-ci/travis-ci/issues/7940
75+
- if [[ $TRAVIS_SUDO ]]; then sudo rm -f /etc/boto.cfg; fi
76+
- pip install tox
5677
script: travis_wait 60 tox -- -vv

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def get_requirements():
5858
'Programming Language :: Python :: 3.4',
5959
'Programming Language :: Python :: 3.5',
6060
'Programming Language :: Python :: 3.6',
61+
'Programming Language :: Python :: 3.7',
6162
'Programming Language :: Python :: Implementation :: CPython',
6263
'Topic :: Security',
6364
'Topic :: Security :: Cryptography'

0 commit comments

Comments
 (0)