.gitlab-ci.yml 362 Bytes
Newer Older
Helmo's avatar
Helmo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# Defines stages which are to be executed
stages:
  - syntax

#
### Stage syntax
#

syntax:lint:
  stage: syntax
  image: bobey/docker-gitlab-ci-runner-php7
  allow_failure: false

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