Skip to content

Commit

Permalink
[FIX] Fix report to coverage.io
Browse files Browse the repository at this point in the history
Install coverage lib into the virtualenv
  • Loading branch information
lmignon committed Jul 28, 2015
1 parent b9766f1 commit 4c31cf4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[report]
omit =
*__init__.py

# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ virtualenv:
install:
- pip install -e .[dev]
- pip install coveralls
- pip install coverage

script:
- flake8 anybox
- nosetests anybox -v --with-coverage --cover-tests --with-doctest --cover-package=anybox
- nosetests anybox --with-coverage --cover-tests --with-doctest --cover-package anybox

after_script:
# Dump version of all installed packages
- echo 'Versions of all installed packages'; echo '=================================='; pip freeze -l anybox.recipe.odoo

after_success:
- coveralls
- coveralls

0 comments on commit 4c31cf4

Please sign in to comment.