GitLab-CI: enforce PSR-2

This commit is contained in:
Thomas Gelf 2017-01-13 19:50:48 +01:00
parent 9e771f2d5a
commit b931254087
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,14 @@
stages: stages:
- Coding Standards
- Unit-Tests with DB - Unit-Tests with DB
PSR2 CS Test:
stage: Coding Standards
tags:
- xenial
script:
- phpcs --report-width=auto --report-full --report-gitblame --report-summary -p --standard=PSR2 --extensions=php --encoding=utf-8 -w -s library/Director/ application/ configuration.php run.php test
CentOS 7/MySQL: CentOS 7/MySQL:
stage: Unit-Tests with DB stage: Unit-Tests with DB
tags: tags: