2019-08-08 12:44:48 +00:00
|
|
|
language: rust
|
|
|
|
|
2019-08-14 01:58:58 +00:00
|
|
|
env:
|
|
|
|
- RUSTFLAGS="-D warnings"
|
|
|
|
|
2019-08-08 12:44:48 +00:00
|
|
|
before_script:
|
2019-08-12 18:59:51 +00:00
|
|
|
- rustup component add rustfmt
|
2019-08-08 12:44:48 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- rust: nightly
|
|
|
|
os: linux
|
2019-08-16 19:46:23 +00:00
|
|
|
env: BUILD_DOCS=1
|
2019-08-08 12:44:48 +00:00
|
|
|
- rust: nightly
|
|
|
|
os: osx
|
2019-08-16 19:46:23 +00:00
|
|
|
env: BUILD_DOCS=1
|
|
|
|
- rust: nightly-x86_64-pc-windows-msvc
|
|
|
|
os: windows
|
2019-08-08 12:44:48 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- cargo check --all --benches --bins --examples --tests
|
|
|
|
- cargo test --all
|
2019-08-16 19:46:23 +00:00
|
|
|
- cargo fmt --all -- --check
|
|
|
|
- if [[ -n "$BUILD_DOCS" ]]; then cargo doc --features docs; fi
|