aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-04 14:41:50 +0000
committerMinteck <contact@minteck.org>2021-12-04 14:41:50 +0000
commit7c4c052411395f998fe517f00e21cac8b452fda1 (patch)
tree8bc2c38287f6ffeb330b5b55e84e6fc78a0beb58
parentc4dc2bf74de18f914c9ec3b1202dcbca88e5d491 (diff)
downloadwebring-7c4c052411395f998fe517f00e21cac8b452fda1.tar.gz
webring-7c4c052411395f998fe517f00e21cac8b452fda1.tar.bz2
webring-7c4c052411395f998fe517f00e21cac8b452fda1.zip
Add new file
-rw-r--r--.gitlab-ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..4402674
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,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'