Skip to content

Commit ab8b511

Browse files
committed
Check formatting in CI
1 parent 6d01799 commit ab8b511

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
language: rust
2+
sudo: false
23
rust:
34
- 1.8.0
45
- 1.15.0
56
- 1.20.0
7+
- 1.26.0 # has_i128
8+
- 1.31.0 # 2018!
69
- stable
710
- beta
811
- nightly
9-
sudo: false
1012
script:
1113
- cargo build --verbose
1214
- ./ci/test_full.sh
15+
matrix:
16+
include:
17+
- name: "rustfmt"
18+
rust: 1.31.0
19+
before_script:
20+
- rustup component add rustfmt
21+
script:
22+
- cargo fmt --all -- --check
1323
notifications:
1424
email:
1525
on_success: never

0 commit comments

Comments
 (0)