.travis.yml
language: node_js
node_js:
- "8"
matrix:
notifications:
email:
recipients:
- ike18t@gmail.com
on_success: change
on_failure: change
env:
global:
- CC_TEST_REPORTER_ID=7ba98aca9f50871c9d498b22b2f7f11cc780e4894a93127e843eecd6307588ba
before_script:
- sudo chown root /opt/google/chrome/chrome-sandbox
- sudo chmod 4755 /opt/google/chrome/chrome-sandbox
- 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