Skip to content

Commit 9961de8

Browse files
committed
update Travis configs
Fixes: levex#11 Signed-off-by: bin liu <[email protected]>
1 parent 3852d7c commit 9961de8

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.travis.yml

+20-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
1+
# Copyright (c) 2018 Levente Kurusa
2+
# Copyright (c) 2020 Ant Group
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
dist: bionic
8+
os: linux
19
language: rust
10+
11+
before_script:
12+
- rustup component add rustfmt
13+
- cargo fmt --check
14+
15+
script:
16+
- cargo build --verbose
17+
- cargo test --verbose
18+
- sudo -E PATH=$PATH cargo test --verbose
19+
220
rust:
321
- stable
422
- beta
523
- nightly
6-
matrix:
24+
25+
jobs:
726
allow_failures:
827
- rust: nightly
9-
fast_finish: true
10-
script:
11-
- cargo build --verbose --all

0 commit comments

Comments
 (0)