diff options
-rw-r--r-- | .travis.yml | 14 | ||||
-rw-r--r-- | README.md | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 8d10a43f0..ebff7d8b0 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -12,12 +12,15 @@ build: &rust_build | |||
12 | - rustup component add rust-src | 12 | - rustup component add rust-src |
13 | - cargo test --no-run # let's measure compile time separately | 13 | - cargo test --no-run # let's measure compile time separately |
14 | - cargo test | 14 | - cargo test |
15 | - cargo doc --all --no-deps | ||
15 | env: | 16 | env: |
16 | - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0 | 17 | - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0 |
17 | 18 | ||
18 | matrix: | 19 | matrix: |
19 | include: | 20 | include: |
20 | - os: linux | 21 | - os: linux |
22 | before_script: | ||
23 | - DEPLOY_DOCS=1 | ||
21 | <<: *rust_build | 24 | <<: *rust_build |
22 | - language: node_js | 25 | - language: node_js |
23 | node_js: node | 26 | node_js: node |
@@ -43,3 +46,14 @@ branches: | |||
43 | - staging | 46 | - staging |
44 | - master | 47 | - master |
45 | - trying | 48 | - trying |
49 | |||
50 | deploy: | ||
51 | provider: pages | ||
52 | skip-cleanup: true | ||
53 | github-token: $DOCS_TOKEN # Set in the settings page of your repository, as a secure variable | ||
54 | keep-history: true | ||
55 | local-dir: target/doc | ||
56 | branch: gh-pages | ||
57 | on: | ||
58 | branch: master | ||
59 | condition: $DEPLOY_DOCS = 1 | ||
@@ -1,6 +1,7 @@ | |||
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 | [![Master docs](https://img.shields.io/badge/docs-master-blue.svg)](https://rust-analyzer.github.io/rust-analyzer/ra_ide_api/index.html) | ||
4 | 5 | ||
5 | Rust Analyzer is an **experimental** modular compiler frontend for the Rust | 6 | Rust Analyzer is an **experimental** modular compiler frontend for the Rust |
6 | language. It is a part of a larger rls-2.0 effort to create excellent IDE | 7 | language. It is a part of a larger rls-2.0 effort to create excellent IDE |