diff --git a/.travis.yml b/.travis.yml index 80b4a7f170..1883efed70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ sudo: required dist: trusty node_js: - - 6 + - 8 addons: firefox: latest # version 55.0 - 57.x have an issue with screenshots. @@ -38,8 +38,9 @@ before_install: # Start xvfb with a specific resolution and pixel depth - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x24" - CACHE="${HOME}/cache" CMAKE_VERSION=3.5.0 CMAKE_SHORT_VERSION=3.5 source ./scripts/install_cmake.sh + - npm install -g npm@latest + - npm install -g node-pre-gyp - npm prune - - npm install -g npm before_script: - export DISPLAY=:99.0 diff --git a/docs/provisioning.rst b/docs/provisioning.rst index 11f510aee1..acbbb879af 100644 --- a/docs/provisioning.rst +++ b/docs/provisioning.rst @@ -15,7 +15,7 @@ onward. They assume a basic installation, as, for instance, from the Add nodejs to the sources so it can be installed :: - wget -qO- https://deb.nodesource.com/setup_6.x | sudo bash - + wget -qO- https://deb.nodesource.com/setup_8.x | sudo bash - Install required packages (you may want to also include cmake-curses-gui for convenience in configuring CMake options) ::