Skip to content

Commit

Permalink
Add tox-travis integration support, added py34 and py35 support.
Browse files Browse the repository at this point in the history
Also added pip and apt cache support in Travis.
With tox-travis, the correct python version is displayed in Travis.
  • Loading branch information
nfvs committed Jun 30, 2017
1 parent c27256c commit 04662c4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
sudo: false

language: python
python: "3.6"
env:
- TOXENV=py27
- TOXENV=py36

python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"

cache:
- apt
- pip

install:
- pip install tox
- pip install tox tox-travis

script: tox
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,py36,stylecheck
envlist = py27,py34,py35,py36,stylecheck

[testenv]
deps =
Expand Down

0 comments on commit 04662c4

Please sign in to comment.