mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-07 17:26:14 +00:00
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 <sebastien.boeuf@intel.com>
This commit is contained in:
parent
d42ef186a1
commit
93bd88e681
17
.travis.yml
17
.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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user