From 529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 15:38:16 +0200 Subject: Update --- Neutron-trunk/.gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Neutron-trunk/.gitlab-ci.yml (limited to 'Neutron-trunk/.gitlab-ci.yml') diff --git a/Neutron-trunk/.gitlab-ci.yml b/Neutron-trunk/.gitlab-ci.yml new file mode 100644 index 0000000..0b2b573 --- /dev/null +++ b/Neutron-trunk/.gitlab-ci.yml @@ -0,0 +1,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' -- cgit