.travis.yml
language: node_js
cache:
yarn: true
directories:
- node_modules
node_js:
- 6
- 8
- 9
notifications:
email: false
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:
- yarn test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_success:
- yarn build
- yarn semantic-release
branches:
only:
- master
- /^greenkeeper/.*$/
env:
global:
- CC_TEST_REPORTER_ID=7de8e7b9bd6e28be9e9a70786a68b32c86266af593c5b1f2dce0125f4241e7ed