2019-10-04 15:59:54 +10:00
|
|
|
language: rust
|
|
|
|
rust:
|
|
|
|
# MSRV
|
|
|
|
- 1.36.0
|
|
|
|
|
2019-10-05 14:35:00 +10:00
|
|
|
# Stable release channel
|
2019-10-04 15:59:54 +10:00
|
|
|
- stable
|
|
|
|
|
|
|
|
cache: cargo
|
|
|
|
|
|
|
|
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
|
|
|
|
- sudo apt-get -y install libudev-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
|