Add PHP 7.4 tests
This commit is contained in:
parent
fde9b05bdf
commit
d435a17ec8
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -49,5 +49,21 @@ pipeline {
|
|||||||
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
|
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('PHP 7.4') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'php:7.4-alpine'
|
||||||
|
args '-u root --privileged'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'chmod +x ./build/docker_install.sh'
|
||||||
|
sh 'sh build/docker_install.sh'
|
||||||
|
sh 'apk add --no-cache php7-phpdbg'
|
||||||
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user