summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-04-12 13:37:06 +0200
committerMinteck <contact@minteck.org>2022-04-12 13:37:06 +0200
commit98f4f53c364a157d1e0a862618b1e8d12aa52dc4 (patch)
treecf821597926fc309a76fcc186a870f12b2f5b384
parentb6e9a1df8ad17e1efa01ce63edc1a3188a1094d5 (diff)
parent114f1908dbc638c67d00e2b1cb1b95dacea2c3c5 (diff)
downloadargon-98f4f53c364a157d1e0a862618b1e8d12aa52dc4.tar.gz
argon-98f4f53c364a157d1e0a862618b1e8d12aa52dc4.tar.bz2
argon-98f4f53c364a157d1e0a862618b1e8d12aa52dc4.zip
Merge branch 'trunk' of https://gitlab.minteck.org/minteck/argon 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'