From 9a8fc61c858f315647af3f290d5efb92122a51cd Mon Sep 17 00:00:00 2001 From: Amaury Martiny Date: Mon, 10 Dec 2018 11:01:17 +0000 Subject: [PATCH] Allow external contributors building PR --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index f4a91405..ab981775 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash # Travis's default version is 1.3.2, we need 1.4.2 for nohoist - export PATH=$HOME/.yarn/bin:$PATH - npm install --global coveralls + - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export NPM_TOKEN=fake_token; fi' # So that PRs from external contributors work https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions install: - yarn install language: node_js