Skip to content

Commit

Permalink
configuring travis for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dopecodez committed Jun 6, 2020
1 parent 2bc8268 commit a8406d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ node_js:
- '12'
- '10'
before_script:
- npm i -g nyc
- 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:
- nyc --reporter=lcov npm run test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 comments on commit a8406d9

Please sign in to comment.