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 1
1
language : rust
2
+ sudo : false
2
3
rust :
3
4
- 1.15.0
5
+ - 1.20.0
6
+ - 1.26.0 # has_i128
7
+ - 1.31.0 # 2018!
4
8
- stable
5
9
- beta
6
10
- nightly
7
11
env :
8
12
matrix :
9
13
- # no features
10
14
- FEATURES="full-syntax"
15
+ script :
16
+ - cargo build --verbose --features="$FEATURES"
17
+ - ./ci/test_full.sh
11
18
12
19
matrix :
13
20
include :
14
21
# try a no-std target
15
- - rust : stable
22
+ - name : " no_std"
23
+ rust : stable
16
24
env : TARGET=thumbv6m-none-eabi
17
25
before_script :
18
26
- rustup target add "$TARGET"
@@ -21,10 +29,13 @@ matrix:
21
29
# independent features for no-std. (rust-lang/cargo#2589)
22
30
- cd check && cargo check --target "$TARGET"
23
31
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
+
28
39
notifications :
29
40
email :
30
41
on_success : never
You can’t perform that action at this time.
0 commit comments