9de2383712
* Move all examples to individual crates * CI: Add libsdl2 * Use Ubuntu bionic for updated libsdl; 2.0.8 * Clippy * libudev-dev is a dependency of libsdl2-dev * Clippy * Remove unnecessary dev-dependency * `winit` is actually used in unit tests * Fix a typo * Move `simple-invaders` crate
23 lines
344 B
YAML
23 lines
344 B
YAML
language: rust
|
|
dist: bionic
|
|
rust:
|
|
# MSRV
|
|
- 1.40.0
|
|
|
|
# Stable release channel
|
|
- stable
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
before_script:
|
|
- rustup component add clippy
|
|
- rustup component add rustfmt
|
|
- sudo apt-get update
|
|
- sudo apt-get -y install libsdl2-dev
|
|
|
|
script:
|
|
- cargo clippy --all -- -D warnings
|
|
- cargo test --all
|
|
- cargo fmt --all -- --check
|