mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
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:
parent
be24e9fa34
commit
61a157db8c
1 changed files with 6 additions and 5 deletions
11
.travis.yml
11
.travis.yml
|
@ -16,11 +16,6 @@ build: &rust_build
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
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
|
- os: linux
|
||||||
<<: *rust_build
|
<<: *rust_build
|
||||||
# - language: rust
|
# - language: rust
|
||||||
|
@ -38,6 +33,12 @@ matrix:
|
||||||
- cd editors/code && npm ci && npm run travis
|
- cd editors/code && npm ci && npm run travis
|
||||||
|
|
||||||
allow_failures:
|
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
|
- rust nightly
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
|
|
Loading…
Reference in a new issue