Skip to content

Commit

Permalink
update Travis configs
Browse files Browse the repository at this point in the history
Fixes: levex#11

Signed-off-by: bin liu <bin@hyper.sh>
  • Loading branch information
liubin committed Sep 22, 2020
1 parent 3852d7c commit 316c02f
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
language: rust
# Copyright (c) 2018 Levente Kurusa
# Copyright (c) 2020 Ant Group
#
# SPDX-License-Identifier: Apache-2.0
#

dist: bionic
os: linux

before_script:
- rustup component add rustfmt
- cargo fmt --check

script:
- cargo build --verbose
- cargo test --verbose
- sudo -E PATH=$PATH cargo test --verbose

rust:
- stable
- beta
- nightly
matrix:

jobs:
allow_failures:
- rust: nightly
fast_finish: true
script:
- cargo build --verbose --all

0 comments on commit 316c02f

Please sign in to comment.