diff --git a/.travis.yml b/.travis.yml index 42e2ce5..169e426 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,9 @@ cache: cargo rust: - stable - beta - +before_script: + - rustup component add rustfmt-preview script: + - cargo fmt --all -- --check - cargo build --verbose - cargo test --verbose