mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
+25
-5
@@ -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
|
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:
|
rust:
|
||||||
- stable
|
- 1.44.1
|
||||||
- beta
|
|
||||||
- nightly
|
- nightly
|
||||||
matrix:
|
|
||||||
|
jobs:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
script:
|
|
||||||
- cargo build --verbose --all
|
|
||||||
|
|||||||
Reference in New Issue
Block a user