diff options
author | Minteck <contact@minteck.org> | 2022-03-27 21:38:10 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-03-27 21:38:10 +0200 |
commit | 2328e5a5742c3fbdbcb4ded8f1d294b4a20e08e0 (patch) | |
tree | 7b783f6206e6126192166a4c031617800ff5a275 /app/planning/.gitlab-ci.yml | |
parent | 4622ccde9cf34b8518dc9507382fcd2d7eafcb0c (diff) | |
download | core-2328e5a5742c3fbdbcb4ded8f1d294b4a20e08e0.tar.gz core-2328e5a5742c3fbdbcb4ded8f1d294b4a20e08e0.tar.bz2 core-2328e5a5742c3fbdbcb4ded8f1d294b4a20e08e0.zip |
Commit
Diffstat (limited to 'app/planning/.gitlab-ci.yml')
-rw-r--r-- | app/planning/.gitlab-ci.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/planning/.gitlab-ci.yml b/app/planning/.gitlab-ci.yml new file mode 100644 index 0000000..4402674 --- /dev/null +++ b/app/planning/.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' |