From 3a6b8df9ae3a0f1eb33316d5d0201c76c8a458a1 Mon Sep 17 00:00:00 2001 From: Timothy Huang Date: Wed, 6 Dec 2017 13:25:47 -0800 Subject: [PATCH] fix: travis CI build before-install --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4557e553..b12423b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +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 export _authToken=$NPM_TOKEN; fi after_success: - npm run semantic-release branches: