aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-05 16:39:56 +0100
committerMinteck <contact@minteck.org>2021-12-05 16:39:56 +0100
commit97fdd283975219c219d8fb0a164f56c5b52e5966 (patch)
tree23cc5b656f2cbb7e1f475dac4f3b3c0999815f0d
parent879a6237b186768356f99caf992f0d25d5ec8612 (diff)
parent12823550802f939e87d3e87a9478829dddfe0db7 (diff)
downloadcore-97fdd283975219c219d8fb0a164f56c5b52e5966.tar.gz
core-97fdd283975219c219d8fb0a164f56c5b52e5966.tar.bz2
core-97fdd283975219c219d8fb0a164f56c5b52e5966.zip
Merge branch 'trunk' of https://gitlab.minteck.org/minteck/core into trunk
-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'