From 29225bbe75a8d77d766afd10fb5804b78c94c455 Mon Sep 17 00:00:00 2001 From: Nicholas Dudfield Date: Mon, 6 Oct 2014 16:14:44 +0700 Subject: [PATCH] Attempt to fix spurious travis failures --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) 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