This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed
Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 11# Request an environment that provides sudo (that goes with larger containers)
22# and a minimal language environment.
33sudo : true
4- language : minimal
4+ language : rust
55
66cache : cargo
77
1313 global :
1414 - RUST_BACKTRACE=1
1515 matrix :
16- - RUST_TOOLCHAIN=nightly TARGET=wasm
17- - RUST_TOOLCHAIN=stable TARGET=native
16+ - rust : stable
17+ env : TARGET=native
18+ - rust : nightly
19+ env : TARGET=wasm
1820
1921before_install :
20- # Check how much space we've got on this machine.
22+ # Check how much space we've got on this machine.
2123 - df -h
2224
25+ install :
26+ - travis_wait 30 cargo update --locked
27+
2328script :
2429 - ./ci/script.sh
2530
Original file line number Diff line number Diff line change 22
33set -eux
44
5- # Install rustup and the specified rust toolchain.
6- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$RUST_TOOLCHAIN -y
7-
8- # Load cargo environment. Specifically, put cargo into PATH.
9- source ~ /.cargo/env
10-
11- rustc --version
12- rustup --version
13- cargo --version
14-
155case $TARGET in
166 " native" )
177 sudo apt-get -y update
You can’t perform that action at this time.
0 commit comments