Skip to content

Commit

Permalink
Use tox-travis for testing on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Nov 10, 2015
1 parent 9855d73 commit 3b6f941
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
sudo: false
language: python

python:
- "2.7"
- "pypy"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"

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

script: tox

before_install:
- pip install codecov

after_success:
- codecov
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
# and then run "tox" from this directory.

[tox]
envlist = coverage-clean,py27,py34,coverage-report
envlist = coverage-clean,py27,pypy,py33,py34,py35,pypy3,coverage-report

[tox:travis]
2.7 = coverage-clean,py27,coverage-report
pypy = coverage-clean,pypy,coverage-report
3.3 = coverage-clean,py33,coverage-report
3.4 = coverage-clean,py34,coverage-report
3.5 = coverage-clean,py35,coverage-report
pypy3 = coverage-clean,pypy3,coverage-report

[testenv:coverage-clean]
deps = coverage
Expand Down

0 comments on commit 3b6f941

Please sign in to comment.