Switch codeclimate reporting method

This commit is contained in:
Martijn de Boer 2018-01-05 21:08:03 +01:00
parent 29f63cdb4a
commit 751cf3716d
1 changed files with 3 additions and 6 deletions

View File

@ -4,12 +4,9 @@ env:
language: node_js
node_js:
- "9"
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
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
notifications:
slack:
secure: KTdW1lnaIENmRYqpS9PRQXBeaHMomBXKriUcuDa6hVhAh5IOYEaH8Uo9viRcp0JJT3mU6OB5Few9S9riHrpIPl5Nq/Ip6NzOnzbM4/6+tqo7WK3IuNsDMrYW2afrx65W3Y7ESBBcA01LEcPWywFYbyg284JRFRUUaKWxiwL+b1g=
after_success:
- npm install codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info