summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkyren <kerriganw@gmail.com>2018-10-13 17:48:16 -0400
committerkyren <kerriganw@gmail.com>2018-10-13 17:48:16 -0400
commitf02444e5a7eabf550097e51b4abaec99d6bb2084 (patch)
treee568f3b68dcc7521bad0b08f034c80200912e50e
parent917b432aa5beb7ba56cb907d88167791de538119 (diff)
downloadmlua-f02444e5a7eabf550097e51b4abaec99d6bb2084.zip
add rustfmt checks to travis (stable channel)
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
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: