php-kilo/Jenkinsfile

20 lines
494 B
Plaintext
Raw Normal View History

2019-11-20 16:11:31 -05:00
pipeline {
agent none
stages {
stage('PHP 7.4RC6') {
agent {
docker {
2019-11-20 16:30:15 -05:00
image 'php:7.4.0RC6-cli-alpine'
2019-11-20 16:11:31 -05:00
args '-u root --privileged'
}
}
steps {
2019-11-20 16:30:15 -05:00
sh 'docker-php-ext-install ffi'
sh 'apk add --no-cache php7-phpdbg'
2019-11-20 16:11:31 -05:00
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
}
}
}
}