diff --git a/.travis.yml b/.travis.yml index 1e59702b5f..7041ae8d65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,9 @@ jobs: allow_failures: - rust: nightly fast_finish: true +before_script: + - rustup component add rustfmt +script: + - cargo build + - cargo test + - cargo fmt -- --check \ No newline at end of file