diff --git a/.travis.yml b/.travis.yml index 6e02c1a9..4557e553 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,7 @@ node_js: - '8' - '6' before_install: - - if [ "$TRAVIS_BRANCH" = "master" ]; then - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc; fi + - if [ "$TRAVIS_BRANCH" == "master" ]; then echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc; fi after_success: - npm run semantic-release branches: