diff options
author | Minteck <contact@minteck.org> | 2021-12-04 15:43:52 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2021-12-04 15:43:52 +0100 |
commit | e3a79df6428799024eac64e9cffbb062317aeb95 (patch) | |
tree | d972e55c890c52cb8e625fb276488c3de351c2e4 | |
parent | 279b9a59b4b88e2904915880be31e909789f36ac (diff) | |
download | main-e3a79df6428799024eac64e9cffbb062317aeb95.tar.gz main-e3a79df6428799024eac64e9cffbb062317aeb95.tar.bz2 main-e3a79df6428799024eac64e9cffbb062317aeb95.zip |
CI/CD
-rw-r--r-- | .gitlab-ci.yml | 15 |
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' |