2019-11-20 16:11:31 -05:00
|
|
|
pipeline {
|
2019-12-04 15:59:18 -05:00
|
|
|
agent { dockerfile true }
|
2019-11-20 16:11:31 -05:00
|
|
|
stages {
|
2019-12-04 10:46:26 -05:00
|
|
|
stage('PHP 7.4') {
|
2019-11-20 16:11:31 -05:00
|
|
|
steps {
|
2019-11-20 16:30:15 -05:00
|
|
|
sh 'apk add --no-cache php7-phpdbg'
|
2019-11-20 16:11:31 -05:00
|
|
|
sh 'curl -sS https://getcomposer.org/installer | php'
|
2019-12-04 10:46:26 -05:00
|
|
|
sh 'php composer.phar install'
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|