3 - find ./target/debug -type f -maxdepth 1 -delete
4 - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*tools*,*gen_lsp*,*thread_worker*}
5 - rm -f ./target/.rustc_info.json
11 - rustup component add rustfmt
12 - rustup component add rust-src
13 - cargo test --no-run # let's measure compile time separately
15 - cargo doc --all --no-deps
17 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
29 - cd editors/code && npm ci && npm run travis
32 if: branch = master AND type = push
34 - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.txt
35 - dos2unix ./crates/ra_syntax/tests/data/parser/**/*.rs
39 # Because Travis-Windows-Rust can be flaky
40 # We still support Windows and want the tests to be succeeding,
41 # but there are too many spurious failures
53 github-token: $DOCS_TOKEN # Set in the settings page of your repository, as a secure variable
59 condition: $DEPLOY_DOCS = 1