mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
fix build warnings
And in Travis CI, treat warnings as error to keep from merging codes with warning. Fixes: #13 Signed-off-by: bin liu <bin@hyper.sh>
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ install:
|
||||
- rustup component add rustfmt
|
||||
|
||||
script:
|
||||
- cargo build
|
||||
- RUSTFLAGS="--deny warnings" cargo build
|
||||
- if [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then cargo test -- --color always --nocapture ; fi
|
||||
- cargo fmt -- --check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user