Skip to content

Commit

Permalink
Attempt to configure .coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
evandrocoan committed Jul 9, 2018
1 parent 28e8a11 commit d31a33b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .coveragerc
@@ -0,0 +1,11 @@
[run]
omit =
# omit anything in a .local directory anywhere
*/.local/*
*/home/*
# omit everything in /usr
/usr/*
source/user_interface/*
# omit this single file
source/main.py
source/unit_tests.py
8 changes: 8 additions & 0 deletions .travis.yml
Expand Up @@ -14,6 +14,11 @@ matrix:
before_install:

- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
pip install --upgrade pip;
python -m pip install coverage;
python -m pip install -U coverage;
pip install coverage;
pip install -U coverage;
pip install codecov;
pip install codacy-coverage;
pip install python-coveralls;
Expand All @@ -30,6 +35,9 @@ before_install:
script:

- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
coverage help;
coverage --version;
coverage debug config;
coverage run source/unit_tests.py;
codecov;
coveralls;
Expand Down

0 comments on commit d31a33b

Please sign in to comment.