diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-13 13:06:05 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-13 13:06:05 +0100 |
commit | 8aa7f0ecea651a717d063f913da2b530c9ad4c0e (patch) | |
tree | fe088d7da29b32f31989bdb2df6b97eb95db9212 /.travis.yml | |
parent | bf0022fc65d94068ec8afe9018a7d53f81c3ee48 (diff) |
try nvm
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |