Skip to content

Commit

Permalink
Try coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nir0s committed Sep 25, 2016
1 parent 7961d4d commit d7cd489
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[run]
branch = True
source =
distro.py

[paths]
source =
distro.py
.tox/*/lib/python*/site-packages/distro.py
.tox/pypy/site-packages/distro.py
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ deps =
-rdev-requirements.txt
codecov
passenv = CI TRAVIS TRAVIS_*
commands=nosetests --with-cov --cov-report term-missing --cov distro tests -v
commands =
coverage run --parallel-mode -m nose --strict {posargs}
coverage combine
coverage report -m
# commands=nosetests --with-cov --cov-report term-missing --cov distro.py tests -v

[testenv:py26]
basepython = python2.6
Expand All @@ -41,7 +45,7 @@ basepython = python3.5
[testenv:pywin]
deps =
-rdev-requirements.txt
commands=nosetests --with-cov --cov-report term-missing --cov distro tests -v
commands=nosetests --with-cov --cov-report term-missing --cov distro.py tests -v
basepython = {env:PYTHON:}\python.exe
passenv=ProgramFiles APPVEYOR LOGNAME USER LNAME USERNAME HOME USERPROFILE

Expand Down

0 comments on commit d7cd489

Please sign in to comment.