Skip to content

Commit

Permalink
Set up coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
neithere committed Oct 11, 2015
1 parent 8527d21 commit 5daee3f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
@@ -1,12 +1,16 @@
language: python
python:
- '2.7'
- '3.5'
- 'pypy'
# - 'pypy3'
- 2.7
- 3.5
- pypy
# - pypy3
install:
- 'pip install -r requirements/testing.txt'
script: python run_tests.py
- pip install -r requirements/testing.txt
- pip install coveralls
script:
coverage run --source=autoslug run_tests.py
after_success:
coveralls
notifications:
email:
- neithere+travis@gmail.com
9 changes: 7 additions & 2 deletions tox.ini
Expand Up @@ -6,5 +6,10 @@ default = http://pypi.python.org/simple
testrun = http://pypi.testrun.org

[testenv]
deps = -r{toxinidir}/requirements/testing.txt
commands = ./run_tests.py []
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
coveralls
-r{toxinidir}/requirements/testing.txt
commands =
coverage run --source=autoslug run_tests.py []
coveralls

0 comments on commit 5daee3f

Please sign in to comment.