gitlab-ci: Disable nightly builds and clippy.
This commit is contained in:
parent
95ff3715a3
commit
88a4c2d9f0
@ -11,9 +11,6 @@ before_script:
|
||||
- apt-get install -yqq --no-install-recommends libgtk-3-dev
|
||||
# - apt-get install -yqq --no-install-recommends meson
|
||||
|
||||
# kcov
|
||||
# - apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
||||
|
||||
.cargo_test_template: &cargo_test
|
||||
stage: test
|
||||
script:
|
||||
@ -34,10 +31,10 @@ stable:test:
|
||||
image: "rust"
|
||||
<<: *cargo_test
|
||||
|
||||
nightly:test:
|
||||
# https://hub.docker.com/r/rustlang/rust/
|
||||
image: "rustlang/rust:nightly"
|
||||
<<: *cargo_test
|
||||
# nightly:test:
|
||||
# # https://hub.docker.com/r/rustlang/rust/
|
||||
# image: "rustlang/rust:nightly"
|
||||
# <<: *cargo_test
|
||||
|
||||
# Configure and run rustfmt on nightly
|
||||
# Exits and builds fails if on bad format
|
||||
@ -53,12 +50,12 @@ rustfmt:
|
||||
|
||||
# Configure and run clippy on nightly
|
||||
# Only fails on errors atm.
|
||||
clippy:
|
||||
image: "rustlang/rust:nightly"
|
||||
stage: lint
|
||||
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
|
||||
# clippy:
|
||||
# image: "rustlang/rust:nightly"
|
||||
# stage: lint
|
||||
# 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user