diff --git a/.travis.yml b/.travis.yml index 178e82459a..92c5b3892f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,10 @@ language: rust rust: - - beta \ No newline at end of file + - stable + - beta +cache: cargo +before_script: + - rustup component add rustfmt +script: + - cargo fmt --verbose -- --check + - cargo test --verbose