Skip to content

Commit

Permalink
Add Travis CI build for Windows
Browse files Browse the repository at this point in the history
This adds Travis CI builds for druid on Windows. It builds
all targets + examples. This closes #3.
  • Loading branch information
dsp committed Nov 2, 2018
1 parent 68b42df commit a954896
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a954896

Please sign in to comment.