aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 4402674f19193b0efb9f62dcde9dc6e5e68066b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Generic Minteck GitLab CI/CD Checks
# PHP applications
image: php: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'