Timothy J Warren
c2228afe33
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
19 lines
462 B
Groovy
19 lines
462 B
Groovy
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 php7-ffi'
|
|
sh 'curl -sS https://getcomposer.org/installer | php'
|
|
sh 'php composer.phar install --ignore-platform-reqs'
|
|
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests'
|
|
}
|
|
}
|
|
}
|
|
} |