Install new node

This commit is contained in:
Florian Bruhin 2016-07-06 17:05:12 +02:00
parent 8d625393ec
commit 89cdef851d

View File

@ -63,6 +63,11 @@ npm_install() {
travis_retry sudo npm install -g "$@"
}
install_node() {
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
apt_install nodejs
}
check_pyqt() {
python3 <<EOF
import sys
@ -120,7 +125,7 @@ case $TESTENV in
pyroma|check-manifest)
;;
eslint)
apt_install npm nodejs nodejs-legacy
install_node
npm_install eslint
;;
*)