From 6118851bf08375a6a27edc91d7025b0141564ef6 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Sat, 7 Apr 2018 09:48:24 -0700 Subject: [PATCH] PATH workaround for Travis CI bug Signed-off-by: Christopher Hiller --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0bbb7dd2f9..b721e268ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ stages: # defaults language: node_js node_js: '9' -env: PATH=~/npm/node_modules/.bin:$PATH # `nvm install` happens before the cache is restored, which means # we must install our own npm elsewhere (`~/npm`) before_install: | @@ -17,6 +16,8 @@ before_install: | cd ~/npm && npm install npm cd - } || true + # avoids bugs around https://github.com/travis-ci/travis-ci/issues/5092 + export PATH=~/npm/node_modules/.bin:$PATH # this avoids compilation in most cases (where we don't need it) install: npm ci --ignore-scripts cache: