You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
670 B
YAML
28 lines
670 B
YAML
language: rust
|
|
|
|
env:
|
|
- RUSTFLAGS="-D warnings"
|
|
|
|
before_script:
|
|
- rustup component add rustfmt
|
|
- if [[ -n "$BUILD_DOCS" ]]; then (cargo install mdbook --force || true); fi
|
|
- if [[ -n "$BUILD_DOCS" ]]; then (cargo install mdbook-linkcheck --force || true); fi
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- rust: nightly
|
|
os: linux
|
|
env: BUILD_DOCS=1
|
|
- rust: nightly
|
|
os: osx
|
|
env: BUILD_DOCS=1
|
|
- rust: nightly-x86_64-pc-windows-msvc
|
|
os: windows
|
|
|
|
script:
|
|
- cargo check --all --benches --bins --examples --tests
|
|
- cargo test --all
|
|
- cargo fmt --all -- --check
|
|
- if [[ -n "$BUILD_DOCS" ]]; then cargo doc --features docs; fi
|