diff --git a/.travis.yml b/.travis.yml index af4b960fcc9..97bc986293a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,11 @@ language: python python: - 3.6 dist: xenial + +env: + global: + - NODE_VERSION=10.17.0 + matrix: include: - python: 3.6 @@ -27,8 +32,8 @@ install: - pip install tox-travis - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash - source ~/.nvm/nvm.sh - - nvm install --lts - - nvm use --lts + - nvm install $NODE_VERSION + - nvm use $NODE_VERSION - npm install -g bower - npm install - bower install diff --git a/docs/development/front-end.rst b/docs/development/front-end.rst index 7a28864a110..4646317cc79 100644 --- a/docs/development/front-end.rst +++ b/docs/development/front-end.rst @@ -55,8 +55,8 @@ in. Getting Started --------------- -You will need a working version of Node and NPM to get started. We won't cover -that here, as it varies from platform to platform. +You will need a working version of Node (tested with ``v10.17.0``) and NPM to get started. +We won't cover that here, as it varies from platform to platform. To install these tools and dependencies:: diff --git a/docs/development/install.rst b/docs/development/install.rst index e41897ee22d..e6067047800 100644 --- a/docs/development/install.rst +++ b/docs/development/install.rst @@ -183,4 +183,4 @@ see :doc:`buildenvironments`. For building this documentation, see :doc:`docs`. -And for setting up for the front end development, see :doc:`standards`. +And for setting up for the front end development, see :doc:`front-end`. diff --git a/tox.ini b/tox.ini index 8383c86eeba..001a6fc123b 100644 --- a/tox.ini +++ b/tox.ini @@ -54,6 +54,7 @@ commands = --die-on-tool-error {posargs} [testenv:eslint] +whitelist_externals = npm description = run the JavaScript linter (requires `npm install`) commands = npm run lint