Skip to content

Commit efdddcb

Browse files
committed
ci: update rust toolchain before script
Also, explicitly delete cargo registry src/ directory to save space in cache
1 parent 716a387 commit efdddcb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ os:
1212
script:
1313
- ./capstone-rs/ci/test.sh
1414

15+
before_script:
16+
- rustup update "$TRAVIS_RUST_VERSION"
17+
1518
cache:
1619
cargo: true
1720
directories:
1821
- kcov-install
1922
before_cache:
20-
- rm -rf target/cov
23+
- rm -rf target/cov "$TRAVIS_HOME/.cargo/registry/src"
2124

2225
matrix:
2326
# Clear the whole matrix

0 commit comments

Comments
 (0)