aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-04 14:36:46 +0000
committerMinteck <contact@minteck.org>2021-12-04 14:36:46 +0000
commit08791566222114bb7da25e4cb0e5513c18a70844 (patch)
tree7df3200fc82ddb46c1ca7723da3fadbf0b99b749
parentf31ca10091a58f5df2e71e2d82615d166a1decd0 (diff)
downloadhelp-08791566222114bb7da25e4cb0e5513c18a70844.tar.gz
help-08791566222114bb7da25e4cb0e5513c18a70844.tar.bz2
help-08791566222114bb7da25e4cb0e5513c18a70844.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'