Skip to content

Commit

Permalink
Update tox configuration to run coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Collado committed Nov 25, 2016
1 parent 40733fb commit fc5f060
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ deps=flake8
commands=flake8 rabbithole

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
-r{toxinidir}/requirements.txt
coveralls
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/rabbithole

commands = python setup.py test

; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt
commands =
coverage run --source rabbithole setup.py test
- coveralls

0 comments on commit fc5f060

Please sign in to comment.