mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-16 10:21:00 +01:00
move phpmd stuff to a script
This commit is contained in:
parent
7b55001eee
commit
2f3bce5960
@ -11,6 +11,5 @@ jobs:
|
|||||||
when: manual
|
when: manual
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- phpmd include text utils/gitlab-ci/phpmd-ruleset.xml
|
- sh utils/gitlab-ci/phpmd.sh
|
||||||
- phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml
|
|
||||||
- FILES=$(ls -dm *.php | sed "s/ //g") && phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml
|
|
||||||
|
|||||||
7
utils/gitlab-ci/phpmd.sh
Normal file
7
utils/gitlab-ci/phpmd.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
phpmd include text utils/gitlab-ci/phpmd-ruleset.xml
|
||||||
|
phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml
|
||||||
|
|
||||||
|
FILES=$(ls -dm *.php | sed "s/ //g")
|
||||||
|
phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml
|
||||||
Loading…
x
Reference in New Issue
Block a user