diff options
-rw-r--r-- | .travis.yml | 22 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | appveyor.yml | 19 |
3 files changed, 16 insertions, 27 deletions
diff --git a/.travis.yml b/.travis.yml index ecb3b76f4..4c691f670 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -7,14 +7,18 @@ 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 | 22 | # - language: rust |
19 | # rust: nightly | 23 | # rust: nightly |
20 | # before_script: | 24 | # before_script: |
@@ -30,6 +34,12 @@ matrix: | |||
30 | - cd editors/code && npm ci && npm run travis | 34 | - cd editors/code && npm ci && npm run travis |
31 | 35 | ||
32 | allow_failures: | 36 | allow_failures: |
37 | - os: windows | ||
38 | if: branch = master | ||
39 | before_script: | ||
40 | - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt | ||
41 | - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs | ||
42 | <<: *rust_build | ||
33 | - rust nightly | 43 | - rust nightly |
34 | 44 | ||
35 | branches: | 45 | branches: |
@@ -1,8 +1,6 @@ | |||
1 | # Rust Analyzer | 1 | # Rust Analyzer |
2 | 2 | ||
3 | [![Build Status](https://travis-ci.org/rust-analyzer/rust-analyzer.svg?branch=master)](https://travis-ci.org/rust-analyzer/rust-analyzer) | 3 | [![Build Status](https://travis-ci.org/rust-analyzer/rust-analyzer.svg?branch=master)](https://travis-ci.org/rust-analyzer/rust-analyzer) |
4 | [![Build status](https://ci.appveyor.com/api/projects/status/vtt455oi3hjy9uvk/branch/master?svg=true)](https://ci.appveyor.com/project/matklad/rust-analyzer/branch/master) | ||
5 | |||
6 | 4 | ||
7 | Rust Analyzer is an **experimental** modular compiler frontend for the | 5 | Rust Analyzer is an **experimental** modular compiler frontend for the |
8 | Rust language, which aims to lay a foundation for excellent IDE | 6 | Rust language, which aims to lay a foundation for excellent IDE |
diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index a32a1e7b8..000000000 --- a/appveyor.yml +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | os: Visual Studio 2015 | ||
2 | |||
3 | install: | ||
4 | - curl https://win.rustup.rs/ --output rustup-init.exe | ||
5 | - rustup-init -yv --default-toolchain beta --default-host x86_64-pc-windows-msvc | ||
6 | - set PATH=%PATH%;%USERPROFILE%\.cargo\bin | ||
7 | - rustc -vV | ||
8 | - cargo -vV | ||
9 | |||
10 | build: false | ||
11 | |||
12 | test_script: | ||
13 | - cargo test | ||
14 | |||
15 | branches: | ||
16 | only: | ||
17 | - staging | ||
18 | - master | ||
19 | - trying | ||