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 1
1
language : rust
2
2
rust :
3
- - 1.5.0
3
+ - stable
4
4
- beta
5
5
- nightly
6
6
sudo : false
7
7
install :
8
8
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then OS=unknown-linux-gnu; else OS=apple-darwin; fi
9
9
- 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`
14
12
before_script :
15
13
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
16
14
script :
You can’t perform that action at this time.
0 commit comments