rust/.travis.yml
2018-07-30 15:07:41 +03:00

23 lines
434 B
YAML

language: rust
matrix:
include:
- rust: stable
script:
- cargo gen-kinds --verify
- cargo gen-tests --verify
- cargo test
- rust: nightly
before_script:
- rustup component add clippy-preview
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check || true
- cargo clippy
branches:
only:
- staging
- master
- trying