mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
Add docs build
This commit is contained in:
parent
18a8f48039
commit
022d88cf4c
14
.travis.yml
14
.travis.yml
@ -12,12 +12,15 @@ build: &rust_build
|
||||
- rustup component add rust-src
|
||||
- cargo test --no-run # let's measure compile time separately
|
||||
- cargo test
|
||||
- cargo doc --all --no-deps
|
||||
env:
|
||||
- RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
before_script:
|
||||
- DEPLOY_DOCS=1
|
||||
<<: *rust_build
|
||||
- language: node_js
|
||||
node_js: node
|
||||
@ -43,3 +46,14 @@ branches:
|
||||
- staging
|
||||
- master
|
||||
- trying
|
||||
|
||||
deploy:
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $DOCS_TOKEN # Set in the settings page of your repository, as a secure variable
|
||||
keep-history: true
|
||||
local-dir: target/doc
|
||||
branch: gh-pages
|
||||
on:
|
||||
branch: master
|
||||
condition: $DEPLOY_DOCS = 1
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Rust Analyzer
|
||||
|
||||
[](https://travis-ci.org/rust-analyzer/rust-analyzer)
|
||||
[](https://rust-analyzer.github.io/rust-analyzer/ra_ide_api/index.html)
|
||||
|
||||
Rust Analyzer is an **experimental** modular compiler frontend for the Rust
|
||||
language. It is a part of a larger rls-2.0 effort to create excellent IDE
|
||||
|
Loading…
x
Reference in New Issue
Block a user