aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/.gitlab-ci.yml
blob: 0b2b57313504b8045168698f38ab75055f4efccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
image: php:latest

cache:
  paths:
    - vendor/

before_script:
  - apt-get update -yqq
  - apt-get install -yqq git libmcrypt-dev libpq-dev libcurl4-gnutls-dev libicu-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev

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