ash-molten/.travis.yml

29 lines
566 B
YAML

language: rust
rust:
- stable
matrix:
fast_finish: true
include:
- os: osx
before_script:
- rustup component add rustfmt clippy
env:
global:
- RUST_BACKTRACE=1
script:
# Ensure everything has been rustfmt'ed
- cargo fmt -- --check
# Download in a separate step to separate
# building from fetching dependencies
- cargo fetch
# Because rust isn't brutal enough itself
- cargo clippy -- -D warnings
# Build everything in a separate step to make a
# clear distinction between building and testing
- cargo test --no-run -vv
- cargo test --no-fail-fast -vv