summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScoots Dash (Minteck) <contact@minteck.org>2022-04-08 12:26:10 +0000
committerScoots Dash (Minteck) <contact@minteck.org>2022-04-08 12:26:10 +0000
commit114f1908dbc638c67d00e2b1cb1b95dacea2c3c5 (patch)
tree6028c4909d22e842cd54fbe40cb2ac883dc6a84f
parentfc98d068e9f8dbbf591c0f95f96df81f9d729e52 (diff)
downloadargon-114f1908dbc638c67d00e2b1cb1b95dacea2c3c5.tar.gz
argon-114f1908dbc638c67d00e2b1cb1b95dacea2c3c5.tar.bz2
argon-114f1908dbc638c67d00e2b1cb1b95dacea2c3c5.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'