.gitlab-ci.yml 363 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 13 14
  allow_failure: false

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