diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml index ecb3b76f4..36fd746dd 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -7,30 +7,33 @@ before_cache: | |||
7 | env: | 7 | env: |
8 | - CARGO_INCREMENTAL=0 | 8 | - CARGO_INCREMENTAL=0 |
9 | 9 | ||
10 | build: &rust_build | ||
11 | language: rust | ||
12 | rust: beta | ||
13 | script: | ||
14 | - cargo gen-tests --verify | ||
15 | - cargo gen-syntax --verify | ||
16 | - cargo test | ||
17 | |||
10 | matrix: | 18 | matrix: |
11 | include: | 19 | include: |
12 | - language: rust | 20 | - os: linux |
13 | rust: beta | 21 | <<: *rust_build |
14 | script: | ||
15 | - cargo gen-syntax --verify | ||
16 | - cargo gen-tests --verify | ||
17 | - cargo test | ||
18 | # - language: rust | ||
19 | # rust: nightly | ||
20 | # before_script: | ||
21 | # - rustup component add clippy-preview | ||
22 | # - rustup component add rustfmt-preview | ||
23 | # script: | ||
24 | # - cargo fmt --all -- --check || true | ||
25 | # - cargo clippy | ||
26 | - language: node_js | 22 | - language: node_js |
27 | node_js: node | 23 | node_js: node |
28 | before_script: false | 24 | before_script: false |
29 | script: | 25 | script: |
30 | - cd editors/code && npm ci && npm run travis | 26 | - cd editors/code && npm ci && npm run travis |
31 | 27 | ||
28 | - os: windows | ||
29 | if: branch = master | ||
30 | before_script: | ||
31 | - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt | ||
32 | - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs | ||
33 | <<: *rust_build | ||
34 | |||
32 | allow_failures: | 35 | allow_failures: |
33 | - rust nightly | 36 | - os: windows |
34 | 37 | ||
35 | branches: | 38 | branches: |
36 | only: | 39 | only: |