.travis.yml
language: node_js
node_js:
- v9
- v8
- v6
env:
global:
- CC_TEST_REPORTER_ID=1e7018d9be72dfe6c78b3ab5156e9d664f03e9cd1803d43bd85d0582ac04773e
before_script:
- npm install
- 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 test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT