-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rework travis file to use node_js and dl rust stable
- Loading branch information
1 parent
236fda8
commit 7df9924
Showing
1 changed file
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
language: rust | ||
rust: | ||
- stable | ||
- nightly | ||
os: | ||
- linux | ||
- osx | ||
- windows | ||
language: node_js | ||
node_js: | ||
- 12.0 | ||
env: | ||
- NODE_ENV=ci | ||
- NODE_ENV=ci-staging | ||
cache: yarn | ||
|
||
os: | ||
- linux | ||
- osx | ||
- windows | ||
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 | ||
- nvm install 12 | ||
- nvm use 12 | ||
- npm install -g yarn | ||
|
||
install: | ||
- yarn install | ||
|
||
script: | ||
- yarn test | ||
- yarn lint | ||
- yarn lint |