Skip to content

Commit 61a157d

Browse files
committed
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.
1 parent be24e9f commit 61a157d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.travis.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ build: &rust_build
1616

1717
matrix:
1818
include:
19-
- os: windows
20-
before_script:
21-
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt
22-
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs
23-
<<: *rust_build
2419
- os: linux
2520
<<: *rust_build
2621
# - language: rust
@@ -38,6 +33,12 @@ matrix:
3833
- cd editors/code && npm ci && npm run travis
3934

4035
allow_failures:
36+
- os: windows
37+
if: branch = master
38+
before_script:
39+
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt
40+
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs
41+
<<: *rust_build
4142
- rust nightly
4243

4344
branches:

0 commit comments

Comments
 (0)