2019-11-20 16:11:31 -05:00
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
stages {
|
|
|
|
stage('PHP 7.4RC6') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'php:7.4.0RC6-alpine'
|
|
|
|
args '-u root --privileged'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'apk add --no-cache php7-phpdbg'
|
|
|
|
sh 'curl -sS https://getcomposer.org/installer | php'
|
|
|
|
sh 'php composer.phar install --ignore-platform-reqs'
|
2019-11-20 16:18:32 -05:00
|
|
|
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests'
|
2019-11-20 16:11:31 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|