|
|
@ -7,11 +7,6 @@ pipeline {
|
|
|
|
sh 'composer install'
|
|
|
|
sh 'composer install'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('PHP CS Fixer') {
|
|
|
|
|
|
|
|
steps {
|
|
|
|
|
|
|
|
sh 'php-cs-fixer fix --dry-run --no-interaction --diff -vvv src/'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('Test') {
|
|
|
|
stage('Test') {
|
|
|
|
steps {
|
|
|
|
steps {
|
|
|
|
sh 'php ./bin/phpunit --coverage-clover=\'reports/coverage/coverage.xml\' --coverage-html=\'reports/coverage\''
|
|
|
|
sh 'php ./bin/phpunit --coverage-clover=\'reports/coverage/coverage.xml\' --coverage-html=\'reports/coverage\''
|
|
|
|