Skip to content

Commit

Permalink
Try using coverage.py to encode coverage results for codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
above-c-level committed Dec 2, 2018
1 parent d428482 commit 24d6134
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ python:
install:
- TEST_DIR=$PWD
- pip install --upgrade pip setuptools wheel
- pip install coveralls nose tables
- pip install coverage coveralls nose tables
- pip install -r requirements.txt
- if [[ $TESTS_TO_RUN == *'advanced_tests'* ]]; then pip install lightgbm keras tensorflow catboost xgboost; fi

Expand All @@ -43,4 +43,5 @@ script:
- coveralls

after_script: # Code coverage for codeclimate
- coverage xml
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 comments on commit 24d6134

Please sign in to comment.