Skip to content

Commit

Permalink
Merge #23
Browse files Browse the repository at this point in the history
23: Check formatting in CI r=cuviper a=cuviper



Co-authored-by: Josh Stone <[email protected]>
  • Loading branch information
bors[bot] and cuviper committed Apr 16, 2019
2 parents 2a868fe + 03708ce commit d1160be
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
language: rust
sudo: false
rust:
- 1.15.0
- 1.20.0
- 1.26.0 # has_i128
- 1.31.0 # 2018!
- stable
- beta
- nightly
env:
matrix:
- # no features
- FEATURES="full-syntax"
script:
- cargo build --verbose --features="$FEATURES"
- ./ci/test_full.sh

matrix:
include:
# try a no-std target
- rust: stable
- name: "no_std"
rust: stable
env: TARGET=thumbv6m-none-eabi
before_script:
- rustup target add "$TARGET"
Expand All @@ -21,10 +29,13 @@ matrix:
# independent features for no-std. (rust-lang/cargo#2589)
- cd check && cargo check --target "$TARGET"

sudo: false
script:
- cargo build --verbose --features="$FEATURES"
- ./ci/test_full.sh
- name: "rustfmt"
rust: 1.31.0
before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check

notifications:
email:
on_success: never
Expand Down

0 comments on commit d1160be

Please sign in to comment.