.travis.yml
language: javascript
env:
global:
- CC_TEST_REPORTER_ID=2bfbe7f14201e1f2c959a6c0609627e7ef0ad649d8224814eb07088dacaf0db6
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 install
- npm run test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_success:
- npm run coverage
- npm run coveralls
notifications:
email: true