Skip to content

Commit a3dc2c9

Browse files
bleathemcdcabrera
authored andcommitted
Added a travis config to set the .npmrc file (#535)
1 parent 0ea5acb commit a3dc2c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111

1212
before_install:
1313
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
14+
- if [[ -n ${NPM_TOKEN} ]]; then echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc; fi
1415
- npm install -g bower grunt-cli
1516
- npm install git+https://github.com/patternfly/patternfly-eng-release.git
1617

0 commit comments

Comments
 (0)