Check formatting in CI
This commit is contained in:
parent
c38b4b601d
commit
a1688f6991
12
.travis.yml
12
.travis.yml
|
@ -1,15 +1,25 @@
|
||||||
language: rust
|
language: rust
|
||||||
|
sudo: false
|
||||||
rust:
|
rust:
|
||||||
- 1.8.0
|
- 1.8.0
|
||||||
- 1.15.0
|
- 1.15.0
|
||||||
- 1.20.0
|
- 1.20.0
|
||||||
|
- 1.26.0 # has_i128
|
||||||
|
- 1.31.0 # 2018!
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
sudo: false
|
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
- ./ci/test_full.sh
|
- ./ci/test_full.sh
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- name: "rustfmt"
|
||||||
|
rust: 1.31.0
|
||||||
|
before_script:
|
||||||
|
- rustup component add rustfmt
|
||||||
|
script:
|
||||||
|
- cargo fmt --all -- --check
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: never
|
on_success: never
|
||||||
|
|
Loading…
Reference in New Issue