Attempt to add PHPStan messages to CI
This commit is contained in:
parent
7505907976
commit
3c8b564ab9
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -34,6 +34,13 @@ pipeline {
|
|||||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
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') {
|
stage('Coverage') {
|
||||||
agent any
|
agent any
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user