2db285d54f
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
22 lines
637 B
Groovy
22 lines
637 B
Groovy
pipeline {
|
|
agent {
|
|
dockerfile {
|
|
args '-u root --privileged'
|
|
}
|
|
}
|
|
stages {
|
|
stage('PHP 8.1') {
|
|
steps {
|
|
sh 'apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing php-phpdbg'
|
|
sh 'curl -sS https://getcomposer.org/installer | php'
|
|
sh 'php composer.phar install'
|
|
sh 'phpdbg -dffi.enable=1 -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never -c phpunit.xml tests'
|
|
step([
|
|
$class: 'CloverPublisher',
|
|
cloverReportDir: '',
|
|
cloverReportFileName: 'clover.xml',
|
|
])
|
|
}
|
|
}
|
|
}
|
|
} |