monolith/.travis.yml

31 lines
419 B
YAML
Raw Normal View History

2019-08-24 18:17:52 +02:00
language: rust
cache: cargo
sudo: false
os:
- linux
- osx
2020-02-27 07:25:22 +01:00
- windows
2019-08-24 18:17:52 +02:00
rust:
- stable
- beta
- nightly
2019-08-24 18:17:52 +02:00
before_script:
- rustup component add rustfmt
2019-08-24 18:17:52 +02:00
script:
- cargo build --all --locked --verbose
- cargo test --all --locked --verbose
- |
if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then
cargo fmt --all -- --check
fi
jobs:
allow_failures:
- rust: nightly
fast_finish: true