Skip to content

Commit

Permalink
chore(cclimate-test-coverage): start reporting tests from travis
Browse files Browse the repository at this point in the history
- setup CC_REPORTER_ID environmental variable on travis
- add scripts to travis config file to during builds
  • Loading branch information
akhilome committed Oct 4, 2018
1 parent 16f4698 commit c4b43bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ services:
- postgresql
before_script:
- psql -c 'create database fastfoodfast;' -U postgres
- 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
after_script: ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_success:
- npm run cover

0 comments on commit c4b43bf

Please sign in to comment.