Skip to content

Commit

Permalink
script required to be updated if travis change to jobs like this
Browse files Browse the repository at this point in the history
  • Loading branch information
hackfisher committed Jul 8, 2019
1 parent b3377f1 commit 4a48121
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ before_install:
jobs:
include:
- stage: Install
script: RUST_TOOLCHAIN=nightly TARGET=wasm
script: ./ci/script.sh nightly wasm
- stage: Test
script: RUST_TOOLCHAIN=stable TARGET=native

script:
- ./ci/script.sh
script: ./ci/script.sh stable native

after_script:
# Check how much free disk space left after the build
Expand Down
4 changes: 2 additions & 2 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ case $TARGET in
sudo apt-get -y update
sudo apt-get install -y cmake pkg-config libssl-dev

cargo test --all --locked "$@"
cargo test --all --locked
;;

"wasm")
# Install prerequisites and build all wasm projects
./init.sh
./build.sh --locked "$@"
./build.sh --locked
;;
esac

0 comments on commit 4a48121

Please sign in to comment.