3 - find ./target/debug -maxdepth 1 -type f -delete
4 - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*heavy_test*,*gen_lsp*,*thread_worker*}
5 - rm -f ./target/.rustc_info.json
15 - rustup component add rustfmt
16 - rustup component add rust-src
17 - printf "\n\n[profile.dev]\ndebug = false\n" >> Cargo.toml
18 - cargo test --no-run # let's measure compile time separately
21 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
25 if: branch = master AND type = push
31 - cargo doc --all --no-deps
33 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
35 - name: "VS Code Tests"
42 before_install: cd editors/code
45 - 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