Check formatting in CI

This commit is contained in:
Josh Stone 2019-04-16 14:32:21 -07:00
parent c38b4b601d
commit a1688f6991
1 changed files with 11 additions and 1 deletions

View File

@ -1,15 +1,25 @@
language: rust
sudo: false
rust:
- 1.8.0
- 1.15.0
- 1.20.0
- 1.26.0 # has_i128
- 1.31.0 # 2018!
- stable
- beta
- nightly
sudo: false
script:
- cargo build --verbose
- ./ci/test_full.sh
matrix:
include:
- name: "rustfmt"
rust: 1.31.0
before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
notifications:
email:
on_success: never