Skip to content

Commit 20f71b3

Browse files
committed
chore/ci: update travis for rust
1 parent ee2aa8b commit 20f71b3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,27 @@ os:
88
- windows
99
language: rust
1010
rust:
11-
- 1.29.0
11+
- 1.30.1
1212
sudo: false
1313
cache:
1414
cargo: true
1515
before_script:
1616
- if ! cargo prune --version | grep -q "0.1.8"; then
1717
cargo install cargo-prune --vers="0.1.8" --force;
1818
fi
19-
- if ! rustfmt --version | grep -q "0.99.1-stable"; then
19+
- if ! rustfmt --version | grep -q "0.99.4-stable"; then
2020
rustup component add rustfmt-preview;
21+
if ! rustfmt --version | grep -q "0.99.4-stable"; then
22+
printf "Bad rustfmt version";
23+
exit 1;
24+
fi
2125
fi
2226
- if ! cargo clippy --version | grep -q "0.0.212"; then
2327
rustup component add clippy-preview;
28+
if ! cargo clippy --version | grep -q "0.0.212"; then
29+
printf "Bad clippy version";
30+
exit 1;
31+
fi
2432
fi
2533
script:
2634
- set -x;

0 commit comments

Comments
 (0)