enable windows CI

This commit is contained in:
Aleksey Kladov 2018-11-18 16:36:57 +03:00
parent f1d8558cd5
commit 06c0015219

View file

@ -19,28 +19,21 @@ matrix:
include: include:
- os: linux - os: linux
<<: *rust_build <<: *rust_build
# - language: rust
# rust: nightly
# before_script:
# - rustup component add clippy-preview
# - rustup component add rustfmt-preview
# script:
# - cargo fmt --all -- --check || true
# - cargo clippy
- language: node_js - language: node_js
node_js: node node_js: node
before_script: false before_script: false
script: script:
- cd editors/code && npm ci && npm run travis - cd editors/code && npm ci && npm run travis
allow_failures:
- os: windows - os: windows
if: branch = master if: branch = master
before_script: before_script:
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt
- dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs
<<: *rust_build <<: *rust_build
- rust nightly
allow_failures:
- os: windows
branches: branches:
only: only: