mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:35:55 +00:00
ci scripts: exit properly on failure
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#!/bin/sh -e
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
exec find . -name "*.php" -not -path "*/lib/*" -print0 | xargs -0 -n1 php -l
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user