Yet another CI code coverage commit

This commit is contained in:
Timothy Warren 2020-03-12 11:08:18 -04:00
parent f242b0dbfa
commit dac6d4b775

23
Jenkinsfile vendored
View File

@ -23,17 +23,7 @@ pipeline {
}
}
steps {
sh 'php ./vendor/bin/phpunit --colors=never'
}
}
stage('PHP 7.4') {
agent {
docker {
image 'php:7.4-alpine'
args '-u root --privileged'
}
}
steps {
sh 'apk update'
sh 'apk add --no-cache git php7-phpdbg'
sh 'phpdbg -dmemory_limit=2g -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never'
@ -44,5 +34,16 @@ pipeline {
])
}
}
stage('PHP 7.4') {
agent {
docker {
image 'php:7.4-alpine'
args '-u root --privileged'
}
}
steps {
sh 'php ./vendor/bin/phpunit --colors=never'
}
}
}
}