Skip to content

Commit 69e94a0

Browse files
committed
Updates to travis-ci config to use tox
This project appears to already use tox for running tests in multiple environments, so this change makes use of the tox-travis module so that travis-ci builds can easily call into tox to run the test suite instead of maintaining two callpaths into the nosetest based test suite. This commit force using Xenial on travis-ci so as to support python 3.7 Signed-off-by: zachwick <[email protected]>
1 parent 90612ac commit 69e94a0

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.travis.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
# ref: https://docs.travis-ci.com/user/languages/python
1+
dist: xenial
2+
sudo: false
23
language: python
34
python:
45
- "2.7"
5-
- "3.2"
6-
- "3.3"
76
- "3.4"
87
- "3.5"
9-
#- "3.5-dev" # 3.5 development branch
10-
#- "nightly" # points to the latest development branch e.g. 3.6-dev
11-
# command to install dependencies
12-
install: "pip install -r requirements.txt"
13-
# command to run tests
14-
script: nosetests
8+
- "3.6"
9+
- "3.7"
10+
install: pip install -r requirements.txt
11+
script: tox

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ six >= 1.10
33
python_dateutil >= 2.5.3
44
setuptools >= 21.0.0
55
urllib3 >= 1.15.1
6+
tox-travis

0 commit comments

Comments
 (0)