File tree Expand file tree Collapse file tree 1 file changed +22
-10
lines changed Expand file tree Collapse file tree 1 file changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,26 @@ language: rust
2
2
rust :
3
3
- nightly
4
4
5
- before_script : |
6
- rustup component add rustfmt-preview &&
7
- rustup component add clippy-preview &&
8
- rustup target add wasm32-unknown-unknown
9
- script : |
10
- cargo fmt -- --check &&
11
- cargo clippy -- -D clippy::all &&
12
- cargo build --verbose &&
13
- cargo check --target wasm32-unknown-unknown &&
14
- cargo test --verbose
5
+ matrix :
6
+ include :
7
+ - name : cargo fmt
8
+ install :
9
+ - rustup component add rustfmt-preview
10
+ script :
11
+ - cargo fmt --all -- --check
12
+ - name : cargo clippy
13
+ install :
14
+ - rustup component add clippy-preview
15
+ script :
16
+ - cargo clippy -- -D clippy::all
17
+ - name : cargo build
18
+ script :
19
+ - cargo build --verbose
20
+ - name : cargo check
21
+ script :
22
+ - cargo check --target wasm32-unknown-unknown
23
+ - name : cargo test
24
+ script :
25
+ - cargo test --verbose
26
+
15
27
cache : cargo
You can’t perform that action at this time.
0 commit comments