From: Tomas Krizek Date: Thu, 21 Feb 2019 15:20:22 +0000 (+0100) Subject: gitlabci: run lint on test files as well X-Git-Tag: v4.0.0~24^2~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c72bc72d1d77aab3017bbac9b17a19a379d34ac5;p=thirdparty%2Fknot-resolver.git gitlabci: run lint on test files as well --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c57ef01f..c5e4b2519 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -133,9 +133,6 @@ kres-gen: lint:tidy: <<: *test - before_script: [] - tags: - - docker script: - ninja -C build_ci* tidy @@ -146,10 +143,10 @@ lint:pedantic: - linux - amd64 script: - - meson build_pedantic_gcc -Dwerror=true -Dc_args='-Wpedantic' + - meson build_pedantic_gcc -Dwerror=true -Dc_args='-Wpedantic' -Dpostinstall_tests=enabled - ninja -C build_pedantic_gcc - > - CC=clang CXX=clang++ meson build_pedantic_clang -Dwerror=true -Dc_args=' + CC=clang CXX=clang++ meson build_pedantic_clang -Dwerror=true -Dpostinstall_tests=enabled -Dc_args=' -Wpedantic -Wno-newline-eof -Wno-gnu-zero-variadic-macro-arguments -Wno-gnu-folding-constant' - ninja -C build_pedantic_clang @@ -175,7 +172,7 @@ lint:scan-build: script: - export SCANBUILD="scan-build --status-bugs -no-failure-reports $(./scripts/get-scanbuild-args.sh)" - ninja -C build_ci* scan-build || true - - test "$(ls build_ci*/meson-logs/scanbuild/*/report-*.html | wc -l)" = 14 # we have this many errors ATM :-) + - test "$(ls build_ci*/meson-logs/scanbuild/*/report-*.html | wc -l)" = 29 # we have this many errors ATM :-) docker: stage: test