]> git.wh0rd.org - tt-rss.git/blame_incremental - .gitlab-ci.yml
fix various issues reported by static analysis
[tt-rss.git] / .gitlab-ci.yml
... / ...
CommitLineData
1image: php:5.6\r
2\r
3before_script:\r
4 - curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar\r
5 - chmod +x /usr/bin/phpmd\r
6\r
7stages:\r
8 - test\r
9\r
10jobs:\r
11 when: manual\r
12 stage: test\r
13 script:\r
14 - phpmd include text utils/gitlab-ci/phpmd-ruleset.xml\r
15 - phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml\r
16 - FILES=$(ls -dm *.php | sed "s/ //g") && phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml\r