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:
- sh utils/gitlab-ci/phpmd.sh