mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
5ba34d4f97
Using clippy as a library has been deprecated, instead the `cargo clippy` command should be used instead. To comply with this change clippy has been removed from the `Cargo.toml` and is now installed with cargo when building in CI. This has also lead to a few new clippy issues to show up, this includes everything in the `font` subdirectory. This has been fixed and `font` should now be covered by clippy CI too. This also upgrades all dependencies, as a result this fixes #1341 and this fixes #1344.
33 lines
464 B
YAML
33 lines
464 B
YAML
language: rust
|
|
sudo: false
|
|
|
|
cache: cargo
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
rust:
|
|
- stable
|
|
- nightly
|
|
|
|
env:
|
|
- CLIPPY="true"
|
|
- CLIPPY=""
|
|
|
|
install:
|
|
- if [ -n "$CLIPPY" ]; then cargo install -f clippy; fi
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
exclude:
|
|
- rust: stable
|
|
env: CLIPPY="true"
|
|
- rust: nightly
|
|
env: CLIPPY=""
|
|
allow_failures:
|
|
- rust: nightly
|
|
|
|
script:
|
|
- if [ -n "$CLIPPY" ]; then cargo clippy; fi
|
|
- if [ -z "$CLIPPY" ]; then cargo test; fi
|