File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ language: rust
2
2
rust : nightly
3
3
sudo : false
4
4
5
+ cache : cargo
6
+
5
7
notifications :
6
8
email :
7
9
on_failure : always
Original file line number Diff line number Diff line change 5
5
export RUST_BACKTRACE=full
6
6
# export RUST_TEST_NOCAPTURE=1
7
7
8
- rustup component add rustc-dev
8
+ cargo +nightly install rustup-toolchain-install-master
9
+ if [ " ${TRAVIS_OS_NAME} " = " windows" ]; then
10
+ rustup-toolchain-install-master -f -n master -c rustc-dev -i x86_64-pc-windows-msvc
11
+ else
12
+ rustup-toolchain-install-master -f -n master -c rustc-dev
13
+ fi
14
+ rustup override set master
9
15
10
16
cargo build
11
17
cargo test --verbose -- --nocapture
@@ -20,7 +26,6 @@ case "${TRAVIS_OS_NAME}" in
20
26
TEST_TARGET=x86_64-unknown-linux-gnu cargo test --verbose -- --nocapture
21
27
;;
22
28
* " windows" * )
23
- rustup target add x86_64-pc-windows-msvc
24
29
TEST_TARGET=x86_64-pc-windows-msvc cargo test --verbose -- --nocapture
25
30
;;
26
31
* " macos" * )
You can’t perform that action at this time.
0 commit comments