Install new node
This commit is contained in:
parent
8d625393ec
commit
89cdef851d
@ -63,6 +63,11 @@ npm_install() {
|
|||||||
travis_retry sudo npm install -g "$@"
|
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() {
|
check_pyqt() {
|
||||||
python3 <<EOF
|
python3 <<EOF
|
||||||
import sys
|
import sys
|
||||||
@ -120,7 +125,7 @@ case $TESTENV in
|
|||||||
pyroma|check-manifest)
|
pyroma|check-manifest)
|
||||||
;;
|
;;
|
||||||
eslint)
|
eslint)
|
||||||
apt_install npm nodejs nodejs-legacy
|
install_node
|
||||||
npm_install eslint
|
npm_install eslint
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user