rust/.travis.yml
2018-08-25 13:58:46 +03:00

26 lines
472 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
allow_failures:
- rust nightly
branches:
only:
- staging
- master
- trying