summaryrefslogtreecommitdiff
path: root/utils/gitlab-ci/phpmd.sh
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-04-26 16:26:53 +0300
committerAndrew Dolgov <[email protected]>2017-04-26 16:26:53 +0300
commit39238155802534f9234835e9fce0fd9c5348221e (patch)
tree80e5f269feed1b8fbf379f1ed02052e8d7355dbe /utils/gitlab-ci/phpmd.sh
parent897804cef29e4d7d851985eab921ffad8106b0cf (diff)
ci: check syntax via php first
Diffstat (limited to 'utils/gitlab-ci/phpmd.sh')
-rw-r--r--utils/gitlab-ci/phpmd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/gitlab-ci/phpmd.sh b/utils/gitlab-ci/phpmd.sh
index e5bad474d..ec3ec3033 100644
--- a/utils/gitlab-ci/phpmd.sh
+++ b/utils/gitlab-ci/phpmd.sh
@@ -1,7 +1,8 @@
-#!/bin/sh -e
+#!/bin/sh -i -e
#phpmd include text utils/gitlab-ci/phpmd-ruleset.xml
#phpmd 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
+