From 87267ce355188422c783f6b8e58c5f8850984985 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Apr 2017 21:15:23 +0300 Subject: ci scripts: exit properly on failure --- utils/gitlab-ci/php-lint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils/gitlab-ci/php-lint.sh') diff --git a/utils/gitlab-ci/php-lint.sh b/utils/gitlab-ci/php-lint.sh index 172abd873..9bd513f88 100644 --- a/utils/gitlab-ci/php-lint.sh +++ b/utils/gitlab-ci/php-lint.sh @@ -1,3 +1,5 @@ -#!/bin/sh -e +#!/bin/sh + +set -e exec find . -name "*.php" -not -path "*/lib/*" -print0 | xargs -0 -n1 php -l -- cgit v1.2.3