Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to travis-ci config to use tox #12

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]>
zachwick committed Feb 23, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 73ab4440683005266d1dd06d03a2536fab19e45b
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# ref: https://docs.travis-ci.com/user/languages/python
dist: xenial
sudo: false
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
#- "3.5-dev" # 3.5 development branch
#- "nightly" # points to the latest development branch e.g. 3.6-dev
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nosetests
- "3.6"
- "3.7"
install: pip install -r requirements.txt
script: tox
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -3,3 +3,4 @@ six >= 1.10
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 >= 1.15.1
tox-travis