diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-06-26 02:40:59 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-06-26 02:40:59 +0400 |
commit | ceccba9d89485fac8f2bd4a2907544a4d3be623c (patch) | |
tree | 15999006d7cf7e2696cd2da99b89f804568d2e31 /tests/angularjs | |
parent | d0b6c3f1bab19e15055490e7bd3ffd06b8b4d415 (diff) |
Applying change suggested by travis
npm is included with Node, so there is no separate package for it. Our Node (and npm) is installed with nvm, and as such is not directly available with sudo. Changing the last few lines of the install-ubuntu.sh script to this should work (and removing the install of the npm package):
npm config set loglevel error
npm install .
Diffstat (limited to 'tests/angularjs')
-rwxr-xr-x | tests/angularjs/scripts/install-ubuntu.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/angularjs/scripts/install-ubuntu.sh b/tests/angularjs/scripts/install-ubuntu.sh index d0e319d81b..7f9e9a1cd9 100755 --- a/tests/angularjs/scripts/install-ubuntu.sh +++ b/tests/angularjs/scripts/install-ubuntu.sh @@ -26,8 +26,9 @@ cd $DIR travis_retry sudo apt-get -qq install python-software-properties travis_retry sudo apt-add-repository -y ppa:chris-lea/node.js > /dev/null travis_retry sudo apt-get -qq update -travis_retry sudo apt-get -qq install nodejs -travis_retry sudo apt-get -qq install npm +#travis_retry sudo apt-get -qq install nodejs +#travis_retry sudo apt-get -qq install npm + cd .. -sudo npm config set loglevel error -sudo npm install .
\ No newline at end of file +npm config set loglevel error +npm install .
\ No newline at end of file |