Attempt to fix spurious travis failures

This commit is contained in:
Nicholas Dudfield
2014-10-06 16:14:44 +07:00
committed by Tom Ritchford
parent 4b5625fd59
commit 29225bbe75

View File

@@ -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