Skip to content

Commit

Permalink
Merge pull request #10 from migueliriano/feature/CARD-5881674
Browse files Browse the repository at this point in the history
CARD-5881674 Add test coverage on travis of code climate
  • Loading branch information
migueliriano authored Dec 1, 2017
2 parents b8e0a3b + 0728055 commit 0b60afc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,17 @@ cache:
directories:
- node_modules

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build

script:
- npm run lint && npm run test
- npm run lint && npm run test:coverage

after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

notifications:
email:
on_failure: change

0 comments on commit 0b60afc

Please sign in to comment.