Skip to content
Snippets Groups Projects
Verified Commit 95ee30ba authored by David Mehren's avatar David Mehren
Browse files

Make rustfmt check a seperate Travis build stage

parent 1c30fdfb
No related branches found
No related tags found
No related merge requests found
language: rust
rust:
- stable
- beta
- nightly
before_script:
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo build
- cargo test
......@@ -15,4 +13,11 @@ matrix:
allow_failures:
- rust: nightly
fast_finish: true
jobs:
include:
- stage: formatting
rust: nightly
script: rustup component add rustfmt-preview && cargo fmt --all -- --check
cache: cargo
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment