.travis.yml
env:
global:
- CC_TEST_REPORTER_ID=ba23155c41f3f0a2737bb3df0f714387bf52b4b4271a674a1b9cefd0517fb610
language: node_js
node_js:
- 10
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:
- make lint
- make test
after_script:
- ./cc-test-reporter format-coverage -t lcov ./coverage/lcov.info
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT