diff options
author | Aleksey Kladov <[email protected]> | 2018-07-30 12:14:11 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-30 12:14:11 +0100 |
commit | 9f1f2f952c251e74174d957bd809093a2795780c (patch) | |
tree | cd76f89a51143cc9f8ba157ea94320a1c5e752a6 | |
parent | 1edb58a802f183f79dc2c4bc15921394ef8abb31 (diff) |
nightly rustfmt
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 9949312c8..eb3e10cff 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -3,17 +3,16 @@ language: rust | |||
3 | matrix: | 3 | matrix: |
4 | include: | 4 | include: |
5 | - rust: stable | 5 | - rust: stable |
6 | before_script: | ||
7 | - rustup component add rustfmt-preview | ||
8 | script: | 6 | script: |
9 | - cargo fmt --all -- --check | ||
10 | - cargo test | ||
11 | - cargo gen-kinds --verify | 7 | - cargo gen-kinds --verify |
12 | - cargo gen-tests --verify | 8 | - cargo gen-tests --verify |
9 | - cargo test | ||
13 | - rust: nightly | 10 | - rust: nightly |
14 | before_script: | 11 | before_script: |
15 | - rustup component add clippy-preview | 12 | - rustup component add clippy-preview |
13 | - rustup component add rustfmt-preview | ||
16 | script: | 14 | script: |
15 | - cargo fmt --all -- --check | ||
17 | - cargo clippy | 16 | - cargo clippy |
18 | 17 | ||
19 | branches: | 18 | branches: |