Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleV committed Jun 11, 2018
1 parent 93cd0ad commit cb628fb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ node_js:
- 8.11.2
- '9'
before_install:
- |-
if [ $TRAVIS_PULL_REQUEST == false ] && [ $TRAVIS_BRANCH == "master" ];
then
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc;
else
echo "//registry.npmjs.org/:_authToken=\${NPM_INSTALL_TOKEN}" > ~/.npmrc;
fi
- 'git config --global url."git@github.com:".insteadOf "https://github.com/"'
install:
- npm install
Expand All @@ -27,4 +20,4 @@ after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^\d+\.\d+\.\d+$/
- /^v\d+\.\d+\.\d+$/

0 comments on commit cb628fb

Please sign in to comment.