.travis.yml
language: node_js
cache:
yarn: true
directories:
- node_modules
node_js:
- "6"
- "7"
- "8"
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=9b8ae74637e9df18b17a57a80d83a3754e236b378a3c38700b880915e5e76b17