3 - find ./target/debug -maxdepth 1 -type f -delete
4 - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*gen_lsp*,*thread_worker*}
5 - rm -f ./target/.rustc_info.json
15 - rustup component add rustfmt
16 - rustup component add rust-src
17 - cargo test --no-run # let's measure compile time separately
20 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
24 if: branch = master AND type = push
30 - cargo doc --all --no-deps
32 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
34 - name: "VS Code Tests"
41 before_install: cd editors/code
44 - npm run vscode:prepublish
49 - CXX="g++-4.9", CC="gcc-4.9"
60 github-token: $DOCS_TOKEN # Set in the settings page of your repository, as a secure variable
66 condition: $DEPLOY_DOCS = 1