Tweaks for travis

This commit is contained in:
Alex Stokes 2019-01-10 15:05:50 -06:00
parent 32d9699541
commit bc053ba415
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -1,5 +1,4 @@
language: rust
cache: cargo
script:
- cargo fmt --all -- --check
- cargo build --verbose --all
@ -13,5 +12,4 @@ matrix:
- rust: nightly
fast_finish: true
install:
- (cargo install rustfmt || true)
- PATH=$PATH:/home/travis/.cargo/bin
- rustup component add rustfmt