2019-10-04 15:59:54 +10:00
|
|
|
language: rust
|
2020-04-14 03:12:18 +10:00
|
|
|
dist: bionic
|
2019-10-04 15:59:54 +10:00
|
|
|
rust:
|
|
|
|
# MSRV
|
2020-07-18 10:31:16 +10:00
|
|
|
- 1.41.0
|
2019-10-04 15:59:54 +10:00
|
|
|
|
2019-10-05 14:35:00 +10:00
|
|
|
# Stable release channel
|
2019-10-04 15:59:54 +10:00
|
|
|
- stable
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
before_script:
|
2019-10-05 14:35:00 +10:00
|
|
|
- rustup component add clippy
|
2019-10-04 15:59:54 +10:00
|
|
|
- rustup component add rustfmt
|
2019-10-28 19:03:03 +11:00
|
|
|
- sudo apt-get update
|
2020-04-14 03:12:18 +10:00
|
|
|
- sudo apt-get -y install libsdl2-dev
|
2019-10-04 15:59:54 +10:00
|
|
|
|
|
|
|
script:
|
2019-10-06 20:41:41 +11:00
|
|
|
- cargo clippy --all -- -D warnings
|
|
|
|
- cargo test --all
|
2019-10-04 15:59:54 +10:00
|
|
|
- cargo fmt --all -- --check
|