From 9686538102e073f9ebdaecb90641086bfaef6147 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 4 Dec 2021 14:26:51 +0000 Subject: Add new file --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') 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' -- cgit From e00af5ee524a1f4c963634121d7865de908124c1 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 4 Dec 2021 14:36:01 +0000 Subject: Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 089162a..4402674 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,6 @@ -image: php:8.1.0-zts-buster +# Generic Minteck GitLab CI/CD Checks +# PHP applications +image: php:zts-buster cache: paths: -- cgit