rust/.travis.yml

40 lines
878 B
YAML
Raw Normal View History

2018-10-15 13:01:33 -05:00
cache: cargo
2018-10-20 15:33:45 -05:00
before_cache:
- find ./target/debug -type f -maxdepth 1 -delete
2018-11-06 14:34:30 -06:00
- rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*tools*,*gen_lsp*}
- rm -f ./target/.rustc_info.json
2018-10-20 15:33:45 -05:00
env:
- CARGO_INCREMENTAL=0
2018-10-15 13:01:33 -05:00
2018-01-27 17:31:23 -06:00
matrix:
include:
2018-10-08 16:36:47 -05:00
- language: rust
2018-10-15 11:52:01 -05:00
rust: beta
2018-01-27 17:31:23 -06:00
script:
2018-10-16 13:09:22 -05:00
- cargo gen-syntax --verify
2018-07-30 06:06:22 -05:00
- cargo gen-tests --verify
2018-07-30 06:14:11 -05:00
- cargo test
2018-10-08 16:36:47 -05:00
# - language: rust
# rust: nightly
# before_script:
# - rustup component add clippy-preview
# - rustup component add rustfmt-preview
# script:
# - cargo fmt --all -- --check || true
# - cargo clippy
2018-10-08 16:36:47 -05:00
- language: node_js
node_js: node
before_script: false
script:
2018-10-09 11:10:35 -05:00
- cd editors/code && npm ci && npm run travis
2018-01-27 18:23:05 -06:00
2018-08-25 05:58:46 -05:00
allow_failures:
- rust nightly
2018-01-27 18:23:05 -06:00
branches:
only:
- staging
- master
- trying