From 8aa7f0ecea651a717d063f913da2b530c9ad4c0e Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 13 Feb 2016 13:06:05 +0100 Subject: try nvm --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 8162b4528..0cf1bfb45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,8 @@ before_install: - sudo apt-get update - sudo apt-get install -o DPkg::Options::="--force-confold" -y libxml2 libxml2-dev libxml2-utils - npm install -g npm@latest + - nvm install 5.0 + - nvm use 5.0 install: - cd .. @@ -60,9 +62,7 @@ before_script: - cd apps/news/js # install test deps - npm install --deps # npm install needs to run before sudo npm install because otherwise it fails because a tmp file exists in the home dir - - npm -g install gulp-cli protractor n - - which node - - n latest + - npm -g install gulp-cli protractor - cd .. - wget https://scrutinizer-ci.com/ocular.phar -- cgit v1.2.3