Skip to content

Commit

Permalink
Install new node
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler committed Jul 6, 2016
1 parent 8d62539 commit 89cdef8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/dev/ci/travis_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -120,7 +125,7 @@ case $TESTENV in
pyroma|check-manifest)
;;
eslint)
apt_install npm nodejs nodejs-legacy
install_node
npm_install eslint
;;
*)
Expand Down

0 comments on commit 89cdef8

Please sign in to comment.