diff options
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 04bb3be37..86bce93d6 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -10,6 +10,7 @@ build: &rust_build | |||
10 | script: | 10 | script: |
11 | - cargo gen-tests --verify | 11 | - cargo gen-tests --verify |
12 | - cargo gen-syntax --verify | 12 | - cargo gen-syntax --verify |
13 | - cargo test --no-run # let's measure compile time separately | ||
13 | - cargo test | 14 | - cargo test |
14 | env: | 15 | env: |
15 | - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0 | 16 | - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0 |
@@ -25,7 +26,7 @@ matrix: | |||
25 | - cd editors/code && npm ci && npm run travis | 26 | - cd editors/code && npm ci && npm run travis |
26 | 27 | ||
27 | - os: windows | 28 | - os: windows |
28 | if: branch = master | 29 | if: branch = master AND type = push |
29 | before_script: | 30 | before_script: |
30 | - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt | 31 | - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt |
31 | - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs | 32 | - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs |