Skip to content

Commit

Permalink
Switch from nose-cover3 to nose-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Torborg committed Feb 26, 2015
1 parent 42dba83 commit f382b82
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -11,7 +11,7 @@ before_install:
- "npm install -g less requirejs autoprefixer"

install:
- "pip install webtest mock coverage nose-cover3 flake8 --use-mirrors"
- "pip install webtest mock coverage nose-cov flake8 python-coveralls --use-mirrors"
- "pip install -e . --use-mirrors"

before_script: "flake8"
Expand Down
14 changes: 14 additions & 0 deletions coverage.rc
@@ -0,0 +1,14 @@
[run]
source = pyramid_frontend
omit = pyramid_frontend/tests/*

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: nocover

ignore_errors = True

[html]
directory = cover
10 changes: 3 additions & 7 deletions setup.cfg
@@ -1,8 +1,4 @@
[nosetests]
with-coverage3 = true
cover3-erase = true
cover3-package = pyramid_frontend
cover3-inclusive = true
cover3-html = true
cover3-branch = true
cover3-exclude = pyramid_frontend.tests*
with-cov = true
cov-config = coverage.rc
cov = pyramid_frontend
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -18,7 +18,7 @@ deps =
mock
webtest
coverage
nose-cover3
nose-cov

[testenv:docs]
basepython = python
Expand Down

0 comments on commit f382b82

Please sign in to comment.