Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ matrix:
# using `rust: stable` below would be preferable but it randomly
# breaks the rustfmt check on travis (`cargo fmt --all -- --write-mode=diff`)
# sometimes when the rustfmt rules have changed
rust: stable-2018-06-21
rust: stable
sudo: required
dist: trusty
cache: cargo
Expand All @@ -22,10 +22,9 @@ matrix:
- export PATH=/snap/bin:${PATH}
- rustup component add rustfmt-preview
# useful for troubleshooting
- rustfmt --version
# - rustfmt --version
script:
# using --write-mode=diff instructs rustfmt to exit with an error code if the input is not formatted correctly
- cargo fmt --all -- --write-mode=diff
# - cargo fmt --all -- --check
- env BACKTRACE=1 cargo test --all -- --nocapture
- language: rust
rust: beta
Expand Down
Loading