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/phpmd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/gitlab-ci/phpmd.sh') diff --git a/utils/gitlab-ci/phpmd.sh b/utils/gitlab-ci/phpmd.sh index 117be1848..4ff5daf76 100644 --- a/utils/gitlab-ci/phpmd.sh +++ b/utils/gitlab-ci/phpmd.sh @@ -1,7 +1,8 @@ -#!/bin/sh -i -e +#!/bin/sh + +set -e phpmd include,classes text utils/gitlab-ci/phpmd-ruleset.xml FILES=$(ls -dm *.php | tr -d " "| tr -d "\n") phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml - -- cgit v1.2.3 From c2744831cd319fb967a83dc643bdb8b25f6c0b02 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Apr 2017 21:15:43 +0300 Subject: phpmd ci: add plugins --- utils/gitlab-ci/phpmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/gitlab-ci/phpmd.sh') diff --git a/utils/gitlab-ci/phpmd.sh b/utils/gitlab-ci/phpmd.sh index 4ff5daf76..7541db840 100644 --- a/utils/gitlab-ci/phpmd.sh +++ b/utils/gitlab-ci/phpmd.sh @@ -2,7 +2,7 @@ set -e -phpmd include,classes text utils/gitlab-ci/phpmd-ruleset.xml +phpmd include,classes,plugins text utils/gitlab-ci/phpmd-ruleset.xml FILES=$(ls -dm *.php | tr -d " "| tr -d "\n") phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml -- cgit v1.2.3