diff options
author | Andrew Dolgov <[email protected]> | 2017-04-26 21:15:23 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-04-26 21:15:23 +0300 |
commit | 87267ce355188422c783f6b8e58c5f8850984985 (patch) | |
tree | 4675f49a7eb0da598ea6b69c7b09b3ef0443893d /utils/gitlab-ci/php-lint.sh | |
parent | 42b37a0f9088158c5d985a735b26c5f8ff6e1721 (diff) |
ci scripts: exit properly on failure
Diffstat (limited to 'utils/gitlab-ci/php-lint.sh')
-rw-r--r-- | utils/gitlab-ci/php-lint.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |