Uninstalling Rust on Travis requires something different
This commit is contained in:
parent
f9d7237671
commit
2bab4b0afb
|
@ -14,6 +14,10 @@ matrix:
|
|||
rust: nightly
|
||||
env: TARGET=x86_64-unknown-linux-gnu
|
||||
|
||||
- os: linux
|
||||
rust: stable
|
||||
env: TARGET=x86_64-unknown-linux-gnu
|
||||
|
||||
allow_failures:
|
||||
# TODO You might need to allow failures for some target on some channel for some reason. Below
|
||||
# there's one (commented out) example of how to do that. Just change the OS, channel and TARGET
|
||||
|
|
|
@ -17,9 +17,6 @@ install_c_toolchain() {
|
|||
}
|
||||
|
||||
install_rustup() {
|
||||
# uninstall the rust toolchain installed by travis, we are going to use rustup
|
||||
sh ~/rust/lib/rustlib/uninstall.sh
|
||||
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=$TRAVIS_RUST_VERSION
|
||||
|
||||
rustc -V
|
||||
|
|
Loading…
Reference in New Issue