chore: append to .npmrc rather than overwrite it in travis

This commit is contained in:
Dominykas Blyžė
2017-12-18 15:35:53 +02:00
committed by Remy Sharp
parent bcb4db8649
commit b89d5915a8

View File

@@ -10,7 +10,7 @@ node_js:
- '6'
- '4'
before_install:
- if [ "$TRAVIS_PULL_REQUEST_BRANCH" == "" ]; then echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc; fi
- if [ "$TRAVIS_PULL_REQUEST_BRANCH" == "" ]; then echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> .npmrc; fi
after_success:
- npm run semantic-release
branches: