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 <[email protected]>
  • Loading branch information
liubin committed Sep 22, 2020
1 parent 3852d7c commit 8a29dfc
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# Copyright (c) 2018 Levente Kurusa
# Copyright (c) 2020 Ant Group
#
# SPDX-License-Identifier: Apache-2.0
#

dist: bionic
os: linux
language: rust

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 8a29dfc

Please sign in to comment.