File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11language : rust
22rust :
3- - 1.5.0
3+ - stable
44 - beta
55 - nightly
66sudo : false
77install :
88 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then OS=unknown-linux-gnu; else OS=apple-darwin; fi
99 - export TARGET=$ARCH-$OS
10- - curl -sO https://static.rust-lang.org/dist/rust-$TRAVIS_RUST_VERSION-$TARGET.tar.gz
11- - tar xf rust-$TRAVIS_RUST_VERSION-$TARGET.tar.gz
12- - rm -rf $HOME/rust/lib/rustlib/$TARGET
13- - mv rust-$TRAVIS_RUST_VERSION-$TARGET/rust-std-$TARGET/lib/rustlib/$TARGET $HOME/rust/lib/rustlib
10+ - curl https://static.rust-lang.org/rustup.sh |
11+ sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
1412before_script :
1513 - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
1614script :
You can’t perform that action at this time.
0 commit comments