cloud-hypervisor/.travis.yml

27 lines
654 B
YAML
Raw Normal View History

language: rust
rust:
- stable
before_script:
- rustup component add clippy
- rustup component add rustfmt
script:
- cargo rustc -- -D warnings
- cargo rustc --no-default-features --features "pci" -- -D warnings
- cargo rustc --no-default-features --features "pci,acpi" -- -D warnings
- cargo rustc --no-default-features --features "mmio" -- -D warnings
- cargo test
- cargo clippy --all-targets --all-features -- -D warnings
- find . -name "*.rs" | xargs rustfmt --check
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file: target/release/cloud-hypervisor
skip_cleanup: true
draft: true
on:
tags: true