mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
38 lines
798 B
YAML
38 lines
798 B
YAML
cache: cargo
|
|
before_cache:
|
|
- find ./target/debug -type f -maxdepth 1 -delete
|
|
- rm -f ./target/debug/deps/*ra_*
|
|
|
|
env:
|
|
- CARGO_INCREMENTAL=0
|
|
|
|
matrix:
|
|
include:
|
|
- language: rust
|
|
rust: beta
|
|
script:
|
|
- cargo gen-syntax --verify
|
|
- cargo gen-tests --verify
|
|
- cargo test
|
|
# - language: rust
|
|
# rust: nightly
|
|
# before_script:
|
|
# - rustup component add clippy-preview
|
|
# - rustup component add rustfmt-preview
|
|
# script:
|
|
# - cargo fmt --all -- --check || true
|
|
# - cargo clippy
|
|
- language: node_js
|
|
node_js: node
|
|
before_script: false
|
|
script:
|
|
- cd editors/code && npm ci && npm run travis
|
|
|
|
allow_failures:
|
|
- rust nightly
|
|
|
|
branches:
|
|
only:
|
|
- staging
|
|
- master
|
|
- trying
|