File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 11language : rust
2+ sudo : false
23rust :
34 - 1.15.0
5+ - 1.20.0
6+ - 1.26.0 # has_i128
7+ - 1.31.0 # 2018!
48 - stable
59 - beta
610 - nightly
711env :
812 matrix :
913 - # no features
1014 - FEATURES="full-syntax"
15+ script :
16+ - cargo build --verbose --features="$FEATURES"
17+ - ./ci/test_full.sh
1118
1219matrix :
1320 include :
1421 # try a no-std target
15- - rust : stable
22+ - name : " no_std"
23+ rust : stable
1624 env : TARGET=thumbv6m-none-eabi
1725 before_script :
1826 - rustup target add "$TARGET"
@@ -21,10 +29,13 @@ matrix:
2129 # independent features for no-std. (rust-lang/cargo#2589)
2230 - cd check && cargo check --target "$TARGET"
2331
24- sudo : false
25- script :
26- - cargo build --verbose --features="$FEATURES"
27- - ./ci/test_full.sh
32+ - name : " rustfmt"
33+ rust : 1.31.0
34+ before_script :
35+ - rustup component add rustfmt
36+ script :
37+ - cargo fmt --all -- --check
38+
2839notifications :
2940 email :
3041 on_success : never
You can’t perform that action at this time.
0 commit comments