diff options
author | Minteck <contact@minteck.org> | 2021-12-04 14:26:41 +0000 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2021-12-04 14:26:41 +0000 |
commit | f5f81811410b5c4404d5f39856ce795bc0effede (patch) | |
tree | fb450e7f6f2be9d963a9a7e28d5057445416621f | |
parent | 4bad8bcfb984cf017495b8fd31f174c32cebe805 (diff) | |
download | core-f5f81811410b5c4404d5f39856ce795bc0effede.tar.gz core-f5f81811410b5c4404d5f39856ce795bc0effede.tar.bz2 core-f5f81811410b5c4404d5f39856ce795bc0effede.zip |
Add new file
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..089162a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +image: php:8.1.0-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' |