Merge pull request #12 from liubin/fix/11-add-trivas

update Travis configs
This commit is contained in:
Peng Tao
2020-09-23 14:01:37 +08:00
committed by GitHub

View File

@@ -1,11 +1,31 @@
# Copyright (c) 2018 Levente Kurusa
# Copyright (c) 2020 Ant Group
#
# SPDX-License-Identifier: Apache-2.0
#
dist: bionic
os: linux
language: rust
cache: cargo
arch:
- amd64
- arm64
install:
- rustup component add rustfmt
script:
- cargo build
- if [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then cargo test -- --color always --nocapture ; fi
- cargo fmt -- --check
rust:
- stable
- beta
- 1.44.1
- nightly
matrix:
jobs:
allow_failures:
- rust: nightly
fast_finish: true
script:
- cargo build --verbose --all