diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87aa2c7..dbd9f6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,8 @@ style: image: ${GITLAB_CI_IMAGE_DEBIAN} stage: style before_script: - - apt-get update -qq && apt-get install -y -qq astyle git + - apt-get update -qq + - apt-get install -qq -y astyle git script: - if (test $(astyle --dry-run --options=.astylerc --formatted lib/*.cc | wc -l) -eq 0); then (exit 0); else (exit 1); fi - if (test $(astyle --dry-run --options=.astylerc --formatted lib/*.h | wc -l) -eq 0); then (exit 0); else (exit 1); fi