Update CI to use several PHP versions
This commit is contained in:
parent
ff8c837fd9
commit
3794ed20a8
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -10,10 +10,23 @@ pipeline {
|
|||||||
sh 'php composer.phar install --ignore-platform-reqs'
|
sh 'php composer.phar install --ignore-platform-reqs'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('PHP 8') {
|
stage('PHP 8.1') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'php:8-cli-alpine'
|
image 'php:8.1-cli-alpine'
|
||||||
|
args '-u root --privileged'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'apk add --no-cache git icu-dev'
|
||||||
|
sh 'docker-php-ext-configure intl && docker-php-ext-install intl'
|
||||||
|
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('PHP 8.2') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'php:8.2-cli-alpine'
|
||||||
args '-u root --privileged'
|
args '-u root --privileged'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user