From 81875f5be5196fd271b7984356bea75233206f7e Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 9 May 2019 15:10:48 +0200 Subject: [PATCH] cloud-hypervisor: Add basic Travis based CI We only run builds, tests and static checks for now. Fixes: #7 Signed-off-by: Samuel Ortiz --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..02c1695e3 --- /dev/null +++ b/.travis.yml @@ -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