.travis.yml
language: node_js
node_js:
- "10"
- "8"
before_script:
- npm install -g grunt-cli
- 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
- npm run cover
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
addons:
code_climate:
repo_token: 55d134419444a71f8a409bfe7e0fe1c2cfcce91260612924a1fe731dfa577a0e