diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index e48d782..6d8c363 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,13 @@ matrix: allow_failures: - rust: nightly +install: | + # should only be nessessary until rustfmt produces consistent results in stable/nightly + rustup toolchain install nightly + rustup component add rustfmt-preview --toolchain nightly + script: +- cargo +nightly fmt --all -- --check - RUSTFLAGS="$RUSTFLAGS -C link-dead-code" cargo test cache: |