diff options
author | Minteck <contact@minteck.org> | 2021-12-04 14:41:23 +0000 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2021-12-04 14:41:23 +0000 |
commit | 7bc50998e7f7422eacfd5fa8138a5585a175f137 (patch) | |
tree | 5fb3022cc988bb9b7febb360c05617f1622d04f1 | |
parent | 0123c9e8bac242b1bd57a6f347728f855986ecb7 (diff) | |
download | unchainedtech-7bc50998e7f7422eacfd5fa8138a5585a175f137.tar.gz unchainedtech-7bc50998e7f7422eacfd5fa8138a5585a175f137.tar.bz2 unchainedtech-7bc50998e7f7422eacfd5fa8138a5585a175f137.zip |
-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' |