aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 089162aeb9e2c88af268f2ae4cc21279d03612c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
image: php:8.1.0-zts-buster

cache:
  paths:
    - vendor/

before_script:
  - apt-get update
  - apt-get install -y git

test:
  script:
    - bash -c '[[ $(find . -name \*.php -exec php -l {} \; | grep -v "No syntax errors") ]] && exit 2 || exit 0'