Add Travis Windows build

This commit is contained in:
Philipp Hansch 2018-11-06 20:43:08 +01:00
parent 7196286ec5
commit be24e9fa34
No known key found for this signature in database
GPG key ID: B6FA06A6E0E2665B

View file

@ -6,14 +6,23 @@ before_cache:
env:
- CARGO_INCREMENTAL=0
build: &rust_build
language: rust
rust: beta
script:
- cargo gen-tests --verify
- cargo gen-syntax --verify
- cargo test
matrix:
include:
- language: rust
rust: beta
script:
- cargo gen-syntax --verify
- cargo gen-tests --verify
- cargo test
- os: windows
before_script:
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs
<<: *rust_build
- os: linux
<<: *rust_build
# - language: rust
# rust: nightly
# before_script: