.gitlab-ci.yml 396 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
# 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
13 14
  only:
    - schedules
15
    - web
16 17 18 19 20 21

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