aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-01-12 18:59:32 +0100
committerMinteck <contact@minteck.org>2022-01-12 18:59:32 +0100
commit99fcee47829b5ff31c580f3d5b2d2133e092d9e3 (patch)
tree3bdeab0d1783dd266c0103557cb3d501975717bb /.gitlab-ci.yml
parentd0982c5250d2e33c824ddccb8bd245ca39faa724 (diff)
parentb20156e88124df5d154b1a8ebfb4bfc7abc80d4a (diff)
downloadgenealogy-99fcee47829b5ff31c580f3d5b2d2133e092d9e3.tar.gz
genealogy-99fcee47829b5ff31c580f3d5b2d2133e092d9e3.tar.bz2
genealogy-99fcee47829b5ff31c580f3d5b2d2133e092d9e3.zip
Merge branch 'trunk' of https://source.minteck.org/familine/genealogy into trunk
Diffstat (limited to '.gitlab-ci.yml')
-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'