diff --git a/Jenkinsfile b/Jenkinsfile index 7edf8bdd..01020ede 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,10 +10,23 @@ pipeline { sh 'php composer.phar install --ignore-platform-reqs' } } - stage('PHP 8') { + stage('PHP 8.1') { agent { 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' } }