diff options
author | Minteck <contact@minteck.org> | 2021-12-04 14:41:20 +0000 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2021-12-04 14:41:20 +0000 |
commit | 54681929270d7c9fdfca8cb226066790b175f89f (patch) | |
tree | a58a69059a7a9f3c566f01f1ab738534ced01db0 | |
parent | 49559951d01e17fc7a95ddd5f4b9db911c4180f7 (diff) | |
download | timetracker-trunk.tar.gz timetracker-trunk.tar.bz2 timetracker-trunk.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' |