2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 18:59:55 +00:00
async-std/.travis.yml

26 lines
502 B
YAML
Raw Normal View History

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
env: BUILD_DOCS=1
2019-08-08 12:44:48 +00:00
- rust: nightly
os: osx
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
- cargo fmt --all -- --check
- if [[ -n "$BUILD_DOCS" ]]; then cargo doc --features docs; fi