Attempt to add PHPStan messages to CI

This commit is contained in:
Timothy Warren 2021-02-12 09:39:28 -05:00
parent 7505907976
commit 3c8b564ab9
1 changed files with 7 additions and 0 deletions

7
Jenkinsfile vendored
View File

@ -34,6 +34,13 @@ pipeline {
sh 'php ./vendor/bin/phpunit --colors=never'
}
}
stage('Code Cleanliness') {
agent any
steps {
sh 'php ./vendor/bin/phpstan analyse src/ -l max -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{$1=$1;print}' > build/logs/checkstyle.xml'
checkstyle 'build/logs/checkstyle.xml'
}
}
stage('Coverage') {
agent any
steps {