Skip to content
Merged
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 @@ -30,11 +30,10 @@ matrix:
- SHARD=rustfmt
- PATH=$HOME/.cargo/bin/$PATH
before_script:
- rustup toolchain install nightly
- rustup component add --toolchain nightly rustfmt-preview
- rustup component add --toolchain stable rustfmt-preview
script:
- echo "Checking Gotham codebase with rustfmt release `cargo +nightly fmt --version`."
- cargo +nightly fmt --all -- --write-mode=diff
- echo "Checking Gotham codebase with rustfmt release `cargo fmt --version`."
- cargo fmt --all -- --write-mode=diff

allow_failures:
- rust: nightly