.travis.yml
os:
- linux
env:
global:
- CC_TEST_REPORTER_ID=93dd0517330f5052753016ee57ab1bda81783e9b9a537ac95c8fddcdd8921ee9
sudo: true
services:
- mysql
notifications:
slack: witify:iQMLWUFW5PW92BUlHsjbysUq
before_script:
- yarn
- 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 run cover
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT