Skip to content

Commit 857cb8d

Browse files
k-nasayoshuawuyts
authored andcommitted
update travis ci (#64)
1 parent e644be0 commit 857cb8d

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

.travis.yml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,26 @@ language: rust
22
rust:
33
- nightly
44

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+
1527
cache: cargo

0 commit comments

Comments
 (0)