Lock down nodejs version

The new Travis Trusty image uses node 8 (latest LTS) as the default.
Node 8 is incompatible with some modules used for the UI.
This commit is contained in:
Michael Lange 2017-12-14 12:29:55 -08:00
parent 1a1552f05a
commit 7a7c8204a7
3 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,7 @@ before_install:
install:
- if [[ -z "$SKIP_NOMAD_TESTS" ]]; then make deps ; fi
- if [[ "$RUN_STATIC_CHECKS" ]]; then make lint-deps ; fi
- if [[ "$RUN_UI_TESTS" ]]; then . $HOME/.nvm/nvm.sh && cd ui && nvm use && cd .. ; fi
script:
- sudo -E "PATH=$PATH" make travis

1
ui/.nvmrc Normal file
View File

@ -0,0 +1 @@
6