gitlabci: Always run clippy as part of the lint state now.

This commit is contained in:
Jordan Petridis 2018-04-30 14:45:10 +03:00
parent f324407c9c
commit 37c7f20256
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -98,10 +98,15 @@ rustfmt:
clippy:
image: "rustlang/rust:nightly"
stage: lint
variables:
RUSTFLAGS: "--cfg rayon_unstable"
before_script:
- apt-get update -yqq
- apt-get install -yqq --no-install-recommends build-essential libgtk-3-dev meson
script:
- rustc --version && cargo --version
- cargo install clippy --force
# Force regeneration of gresources regardless of artifacts chage
- cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
- cargo clippy --all
when: manual
allow_failure: true