Commit ac3ed347 authored by helmo's avatar helmo

Add syntax checking stage

parent 10b1dab6
......@@ -10,12 +10,28 @@ before_script:
# Defines stages which are to be executed
stages:
- syntax
- build
- test
- publish
- upgradetest
#
### Stage syntax
#
test:codestyle:
stage: syntax
image: debian:stretch
allow_failure: false
script:
- composer require phplint/phplint
- echo "Syntax checking PHP files"
- echo "For more information http://www.icosaedro.it/phplint/"
- vendor/bin/phplint ./ --exclude "vendor"
#
### Stage "build"
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment