diff --git a/.travis.yml b/.travis.yml index 31bb5ef79f..8fc2d31f4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,11 @@ before_install: # What versions are we ACTUALLY running? - g++ -v - clang -v + # Avoid `spurious errors` caused by ~/.npm permission issues + # Does it already exist? Who owns? What permissions? + - ls -lah ~/.npm || mkdir ~/.npm + # Make sure we own it + - sudo chown -R $USER ~/.npm script: # Set so any failing command will abort the build