From 37c7f2025630d3c1cc34f1b34dd3d8f17971de35 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 30 Apr 2018 14:45:10 +0300 Subject: [PATCH] gitlabci: Always run clippy as part of the lint state now. --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d8ee95f..3f69bc6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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