rust-analyzer/.travis.yml
2018-10-15 21:01:33 +03:00

32 lines
667 B
YAML

cache: cargo
matrix:
include:
- language: rust
rust: stable
script:
- cargo gen-kinds --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