Skip to content

Commit

Permalink
Drop Python 3.4 & add 3.6
Browse files Browse the repository at this point in the history
Were it up to me, I'd drop 2.7 as well, but I figure that's a hard-sell
at this point ;-)

Apparently, there's some [known
issues](travis-ci/travis-ci#4794) with how
Travis handles multiple Python environments.  So after some poking I
realised that the testing strategy we were using was redundant anyway:
We were using tox to build python environments in each Travis container
-- containers that were already being spun up for specific Python
versions.

This commit drops the use of tox in Travis (though it keeps the
`tox.ini` file for local development & testing) and instead instructs
Travis to run the tests natively after installing Sagan in the
container.
  • Loading branch information
danielquinn committed Jan 8, 2018
1 parent 7079e5a commit e5bff0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
language: python
env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install tox
- pip install .
- pip install nose
script:
tox
- python setup.py test
sudo: false
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py27,py33,py34,py35,py36
envlist=py27,py34,py35,py36

[testenv]
commands=python setup.py test []
Expand Down

0 comments on commit e5bff0e

Please sign in to comment.