language: node_js cache: directories: - ~/.npm notifications: email: false node_js: - '12' - '11' - '10' - '8' before_install: - if [ "$TRAVIS_PULL_REQUEST_BRANCH" == "" ]; then echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> .npmrc; fi after_success: - npm run semantic-release branches: except: - /^v\d+\.\d+\.\d+$/