Skip to content

Commit

Permalink
Report Python test coverage through Coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Esmail Fadae committed Sep 26, 2016
1 parent b872ff9 commit ac6b45a
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 @@ -26,12 +26,13 @@ script:
- npm run test
after_script:
- coverage xml && python-codacy-coverage -r coverage.xml
- coveralls
env:
- PIP_DOWNLOAD_CACHE=$HOME/.pip-download-cache DJANGO_DEBUG=False DJANGO_SECRET_KEY=ZGtvYm90cmF2aXM DJANGO_SETTINGS_MODULE=kobo.settings DATABASE_URL="postgres://postgres@localhost:5432/travis_ci_test" TRAVIS_NODE_VERSION="6"
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install -g install npm@latest
- npm config set strict-ssl false && npm install --save-dev
- bower install
- pip install coverage codacy-coverage
- pip install coverage codacy-coverage python-coveralls
- pip install -r requirements.txt

0 comments on commit ac6b45a

Please sign in to comment.