Skip to content

Commit

Permalink
rework travis file to use node_js and dl rust stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedotexe committed Mar 26, 2020
1 parent 236fda8 commit 7df9924
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .travis.yml
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

0 comments on commit 7df9924

Please sign in to comment.