Update Jenkinsfile to use stable PHP

This commit is contained in:
Timothy Warren 2019-12-04 10:46:26 -05:00
parent f5aafb465a
commit bbb9dad72b
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

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