Skip to content

Commit

Permalink
Update Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
KillyMXI committed Oct 29, 2020
1 parent 8fb71fc commit e5912e7
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
@@ -1,14 +1,17 @@
addons:
code_climate:
repo_token:
secure: IbQv9JBOVRXApd+Hd/WQ47f6Ty+2i1ly6hzFXLTuMt7cM/72KC4ocwHsuP6OdiTAgRuSwCHar92v2uTgx0vTjLCBLBCmWYjhVq1u1Pr+9oBidQCT7ryHATNDEh1V68bkmsSXzRDh7j5sesBz7mwzFIpF7FGUlZm3Glba6HbKP5E=

after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info

language: node_js
node_js:
- "8"
- "10"
- "12"

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 cover

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

0 comments on commit e5912e7

Please sign in to comment.