aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Neutron-trunk/.gitlab-ci.yml')
-rw-r--r--Neutron-trunk/.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
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'