try to use nvm to use node 10

This commit is contained in:
eV 2019-08-16 18:23:28 +00:00
parent c284d7364b
commit a7645f3e73
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,9 @@ env:
- LD_LIBRARY_PATH: /usr/local/lib - LD_LIBRARY_PATH: /usr/local/lib
- CLIPPY: n - CLIPPY: n
install: install:
- source $HOME/.nvm/nvm.sh
- nvm install 10
- nvm use 10
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script: ./ci/travis.sh script: ./ci/travis.sh
notifications: notifications:

View File

@ -94,6 +94,7 @@ check_readme() {
rustc --version rustc --version
cargo --version cargo --version
node --version
CHANNEL=nightly CHANNEL=nightly
if [ "x${CLIPPY}" = xy ] ; then if [ "x${CLIPPY}" = xy ] ; then