2017-04-26 11:01:25 +00:00
|
|
|
image: php:5.6
|
2017-04-25 10:44:41 +00:00
|
|
|
|
|
|
|
before_script:
|
2017-04-26 11:01:25 +00:00
|
|
|
- curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar
|
|
|
|
- chmod +x /usr/bin/phpmd
|
2017-04-25 10:44:41 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
|
|
|
jobs:
|
2017-04-25 10:52:42 +00:00
|
|
|
when: manual
|
2017-04-25 10:44:41 +00:00
|
|
|
stage: test
|
|
|
|
script:
|
2017-04-26 11:01:25 +00:00
|
|
|
- phpmd.phar include text utils/gitlab-ci/phpmd-ruleset.xml
|
|
|
|
- phpmd.phar classes text utils/gitlab-ci/phpmd-ruleset.xml
|
|
|
|
|