.gitlab-ci.yml 397 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
# Defines stages which are to be executed
stages:
  - syntax

#
### Stage syntax
#

syntax:lint:
  stage: syntax
11
  image: bobey/docker-gitlab-ci-runner-php7
12
  allow_failure: false
13 14
  only:
    - schedules
Marius Burkard's avatar
Marius Burkard committed
15
    - web
16 17

  script:
18
    - composer require overtrue/phplint
19 20
    - echo "Syntax checking PHP files"
    - echo "For more information http://www.icosaedro.it/phplint/"
21
    - vendor/bin/phplint
22