First pass at CI support (#1)
* First pass at CI support * Fix MSRV (required by wgpu) * Winit requires MSRV 1.36.0 on Linux, add rustfmt to CI, add CI badge to README * Don't forget to install rustfmt
This commit is contained in:
parent
300b51a342
commit
7a858089bf
22
.travis.yml
Normal file
22
.travis.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
language: rust
|
||||
rust:
|
||||
# MSRV
|
||||
- 1.36.0
|
||||
|
||||
# All of the latest release channels
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
|
||||
cache: cargo
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
before_script:
|
||||
- rustup component add rustfmt
|
||||
|
||||
script:
|
||||
- cargo build
|
||||
- cargo test
|
||||
- cargo fmt --all -- --check
|
Loading…
Reference in a new issue