Skip to content

Commit 7d3ed1a

Browse files
committed
Re-enable travis caching but with set rustfmt version.
1 parent 8049282 commit 7d3ed1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: rust
22
rust: nightly
3+
cache: cargo
34
before_script:
45
- export PATH="$PATH:$HOME/.cargo/bin"
5-
- which rustfmt || cargo install rustfmt
6+
- which rustfmt || cargo install --vers 0.8.4 rustfmt
67

78
script:
89
- cargo fmt -- --write-mode=diff

0 commit comments

Comments
 (0)