mirror of
https://github.com/italicsjenga/ash-molten.git
synced 2024-12-23 13:21:30 +11:00
Add travis.yml
This commit is contained in:
parent
02ac66792c
commit
c80d28ab9b
32
.travis.yml
Normal file
32
.travis.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
language: rust
|
||||
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
matrix:
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
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
|
||||
- cargo test --no-fail-fast
|
Loading…
Reference in a new issue