blob: 5c6ea731b064dfd144853c4ac7ff3bd3cc6be60c [file] [log] [blame]
language: rust
cache: cargo
rust:
- 1.21.0
- stable
- beta
- nightly
matrix:
include:
- rust: nightly
env: FEATURES="--features nightly"
- rust: stable
env: RUN=FMT
before_script: rustup component add rustfmt-preview
script: cargo fmt --all -- --check
script:
- cargo test $FEATURES