diff --git a/.travis.yml b/.travis.yml index 2c3b389..0c5091c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,16 @@ language: rust env: - RUSTFLAGS="-D warnings" +before_script: + rustup component add rustfmt-preview matrix: include: - rust: stable + script: + cargo fmt --all -- --check + cargo test --all --verbose - rust: beta + cargo test --all --verbose - rust: nightly script: cargo test --all --verbose --features compiletest_rs allow_failures: