diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..7d67a34496af25235b5983ab8679b9508c33e485 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +# Defines stages which are to be executed +stages: + - syntax + +# +### Stage syntax +# + +syntax:lint: + stage: syntax + allow_failure: false + + script: + - echo "Syntax checking PHP files" + - echo "For more information http://www.icosaedro.it/phplint/" + - shopt -s globstar + - set -e + - for x in **/*.php **/*.lng ; do php -l "$x" ; done +