Try again for FFI
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit

This commit is contained in:
Timothy Warren 2019-11-20 16:30:15 -05:00
parent c2228afe33
commit 30440e577a

5
Jenkinsfile vendored
View File

@ -4,12 +4,13 @@ pipeline {
stage('PHP 7.4RC6') { stage('PHP 7.4RC6') {
agent { agent {
docker { docker {
image 'php:7.4.0RC6-alpine' image 'php:7.4.0RC6-cli-alpine'
args '-u root --privileged' args '-u root --privileged'
} }
} }
steps { steps {
sh 'apk add --no-cache php7-phpdbg php7-ffi' sh 'docker-php-ext-install ffi'
sh 'apk add --no-cache php7-phpdbg'
sh 'curl -sS https://getcomposer.org/installer | php' sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install --ignore-platform-reqs' sh 'php composer.phar install --ignore-platform-reqs'
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests' sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests'