Only build windows on master and allow failure

The Windows build is much slower than Linux, so we only build it on master
and make the build status not depend on it finishing up.
This commit is contained in:
Philipp Hansch 2018-11-07 16:59:43 +01:00
parent be24e9fa34
commit 61a157db8c
No known key found for this signature in database
GPG Key ID: B6FA06A6E0E2665B

View File

@ -16,11 +16,6 @@ build: &rust_build
matrix:
include:
- 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
@ -38,6 +33,12 @@ matrix:
- cd editors/code && npm ci && npm run travis
allow_failures:
- os: windows
if: branch = master
before_script:
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs
<<: *rust_build
- rust nightly
branches: