3 # ask Cargo to clean up artifacts for workspace crates
4 - cargo clean $(printf -- '--package %s ' $(cd crates; ls))
5 # Cargo doesn't clean up depinfo itself, do it manually
6 - find ./target/debug -maxdepth 2 -iname '*.d' -delete
7 - rm -f ./target/.rustc_info.json
17 - rustup component add rustfmt
18 - rustup component add rust-src
19 - printf "\n\n[profile.dev]\ndebug = false\n" >> Cargo.toml
20 - cargo test --no-run # let's measure compile time separately
23 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
27 if: branch = master AND type = push
33 - cargo doc --all --no-deps
35 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
37 - name: "VS Code Tests"
44 before_install: cd editors/code
47 - npm run vscode:prepublish
52 - CXX="g++-4.9", CC="gcc-4.9"
63 github-token: $DOCS_TOKEN # Set in the settings page of your repository, as a secure variable
69 condition: $DEPLOY_DOCS = 1