File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
language : rust
2
2
rust :
3
- - 1.0.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
- - if [ "$TRAVIS_RUST_VERSION" = "1.0.0" ]; then PKG=rustc; else PKG=rust-std-$TARGET; fi
11
10
- curl -sO https://static.rust-lang.org/dist/rust-$TRAVIS_RUST_VERSION-$TARGET.tar.gz
12
11
- tar xf rust-$TRAVIS_RUST_VERSION-$TARGET.tar.gz
13
12
- rm -rf $HOME/rust/lib/rustlib/$TARGET
14
- - mv rust-$TRAVIS_RUST_VERSION-$TARGET/$PKG /lib/rustlib/$TARGET $HOME/rust/lib/rustlib
13
+ - mv rust-$TRAVIS_RUST_VERSION-$TARGET/rust-std-$TARGET /lib/rustlib/$TARGET $HOME/rust/lib/rustlib
15
14
before_script :
16
15
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
17
16
script :
You can’t perform that action at this time.
0 commit comments