summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 4f146016cd344c7df6fef80a402f50360590a0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 include text utils/gitlab-ci/phpmd-ruleset.xml 
    - phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml