зеркало из https://github.com/nextcloud/news.git
try to install latest nodejs version
This commit is contained in:
Родитель
153da70c5e
Коммит
ee3baa68ef
|
@ -28,7 +28,6 @@ before_install:
|
|||
# get a newer node.js version
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- sudo add-apt-repository -y ppa:chris-lea/node.js # ubuntu 12.04 only
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -o DPkg::Options::="--force-confold" -y libxml2 libxml2-dev libxml2-utils
|
||||
- npm install -g npm@latest
|
||||
|
@ -61,7 +60,8 @@ 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
|
||||
- sudo npm -g install gulp-cli protractor
|
||||
- sudo npm -g install gulp-cli protractor n
|
||||
- n latest
|
||||
- cd ..
|
||||
- wget https://scrutinizer-ci.com/ocular.phar
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче