Skip to content

Commit

Permalink
install rust with before_install, main travis lang to node_js
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedotexe committed Mar 26, 2020
1 parent 29dbaa6 commit c85cf99
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
language: rust
language: node_js
node_js:
- 12.0
os:
- linux
- osx
- windows
rust:
- stable
before_install:
- curl https://sh.rustup.rs -sSf -m 60 | sh -s -- -y -v --default-toolchain stable
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then HOME="/c/Users/travis"; fi
- export PATH="$HOME/.cargo/bin:$PATH"
- rustup target add wasm32-unknown-unknown
script:
- npm run build
Expand Down

0 comments on commit c85cf99

Please sign in to comment.