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 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