language: node_js env: global: - CC_TEST_REPORTER_ID=00d7ff4339448cfeff088be57e44acc3266ef20d71a2435bf279fd6790ea95bb cache: directories: - $HOME/.npm notifications: email: travisci+gram@raynode.de node_js: - '10' 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: - npm run test - npm run build after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT after_success: - npm run coveralls - npm install -g travis-deploy-once - travis-deploy-once "npm run semantic-release" branches: except: - /^v\d+\.\d+\.\d+$/