Skip to content

Commit

Permalink
adding codacy coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Chevallier committed May 24, 2017
1 parent 707d02d commit c4dbb16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ before_install:
install:
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pip nose numpy scipy scikit-learn matplotlib cvxopt
- source activate test-environment
- pip install codecov pep8 python-coveralls
- pip install codecov pep8 python-coveralls codacy-coverage

script:
- nosetests --with-coverage --cover-erase --logging-level=INFO
- coverage xml


# Calculate coverage
after_success:
- coveralls --config_file .coveragerc
- codecov
- export CODACY_PROJECT_TOKEN="21b6c8e9b7334f45a1d09132194528f8"
- python-codacy-coverage -r coverage.xml

0 comments on commit c4dbb16

Please sign in to comment.