ttrss/.gitlab-ci.yml

17 lines
345 B
YAML

image: php:5.6
before_script:
- curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar
- chmod +x /usr/bin/phpmd
stages:
- test
jobs:
when: manual
stage: test
script:
- phpmd.phar include text utils/gitlab-ci/phpmd-ruleset.xml
- phpmd.phar classes text utils/gitlab-ci/phpmd-ruleset.xml