cloud-hypervisor: Add basic Travis based CI

We only run builds, tests and static checks for now.

Fixes: #7

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2019-05-09 15:10:48 +02:00
parent 1151b07682
commit 81875f5be5

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: rust
rust:
- stable
before_script:
- rustup component add clippy
- rustup component add rustfmt
script:
- cargo build --release
- cargo test
- cargo clippy --all-targets --all-features -- -D warnings
- cargo fmt --all -- --check