From 93bd88e68150df58bf17bae7cd195fa8c73efed8 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Wed, 11 Dec 2019 08:44:27 +0100 Subject: [PATCH] ci: Simplify travis.yml Now that Cargo tests are being run on the worker node directly, we can leave the bare minimum in Travis, which is taking care of the release deployment. Signed-off-by: Sebastien Boeuf --- .travis.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a81da8f8..09f0b97da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,24 +3,7 @@ language: rust rust: - stable -before_script: - - rustup component add clippy - - rustup component add rustfmt - - cargo install --force cargo-audit - script: - - cargo rustc --bin cloud-hypervisor -- -D warnings - - cargo rustc --bin vhost_user_net -- -D warnings - - cargo test - - cargo audit - - cargo rustc --bin cloud-hypervisor --no-default-features --features "pci,acpi" -- -D warnings - - cargo rustc --bin vhost_user_net --no-default-features --features "pci,acpi" -- -D warnings - - cargo clippy --all-targets --all-features -- -D warnings - - cargo rustc --bin cloud-hypervisor --no-default-features --features "pci" -- -D warnings - - cargo rustc --bin vhost_user_net --no-default-features --features "pci" -- -D warnings - - cargo rustc --bin cloud-hypervisor --no-default-features --features "mmio" -- -D warnings - - cargo rustc --bin vhost_user_net --no-default-features --features "mmio" -- -D warnings - - find . -name "*.rs" | xargs rustfmt --check - cargo build --release deploy: