Skip to content

Commit

Permalink
only use nvm on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
evq committed Aug 16, 2019
1 parent 93e4f29 commit 7fdc070
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -23,8 +23,9 @@ env:
- CLIPPY: n
install:
- source $HOME/.nvm/nvm.sh
- nvm install 10
- nvm use 10
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then source $HOME/.nvm/nvm.sh; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then nvm install 10; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then nvm use 10; fi
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script: ./ci/travis.sh
notifications:
Expand Down
4 changes: 2 additions & 2 deletions ci/travis.sh
Expand Up @@ -51,8 +51,8 @@ build_and_test() {
if [ -n "${TRAVIS}" ]; then
# wasm tests
touch tests/wasm.rs # ensure rebuild happens so TZ / NOW take effect
#TZ=ACST-9:30 NOW=$(date +%s) wasm-pack test --node
#touch tests/wasm.rs
TZ=ACST-9:30 NOW=$(date +%s) wasm-pack test --node
touch tests/wasm.rs
TZ=EST4 NOW=$(date +%s) wasm-pack test --node
touch tests/wasm.rs
TZ=UTC0 NOW=$(date +%s) wasm-pack test --node
Expand Down

0 comments on commit 7fdc070

Please sign in to comment.