From 156246a944461e39cb31740062e360802586c57c Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Thu, 1 Nov 2018 22:27:23 -0700 Subject: [PATCH] Add Travis CI build for Windows This adds Travis CI builds for druid on Windows. It builds all targets + examples. This closes #3. --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..25164b81f8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: rust + +rust: + - stable + - nightly + +os: + - windows + +matrix: + allow_failures: + - rust: nightly + fast_finish: true + +# windows builds run in git bash so these (should) Just Work +cache: + directories: + - $HOME/.cargo + +script: + - export RUST_BACKTRACE=1 + - RUSTFLAGS="-D warnings" cargo check --all || exit + - RUSTFLAGS="-D warnings" cargo check --examples || exit + - cargo test --all || exit + - cargo test --examples || exit \ No newline at end of file