Make sure to run tests for PHP8
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
This commit is contained in:
parent
2a8e6aa3ed
commit
9d82154b2f
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -13,7 +13,19 @@ pipeline {
|
|||||||
stage('PHP 7.4') {
|
stage('PHP 7.4') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'php:7.4-alpine'
|
image 'php:7.4-cli-alpine'
|
||||||
|
args '-u root --privileged'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'apk add --no-cache git'
|
||||||
|
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('PHP 8') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'php:8-cli-alpine'
|
||||||
args '-u root --privileged'
|
args '-u root --privileged'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -25,7 +37,7 @@ pipeline {
|
|||||||
stage('Latest PHP') {
|
stage('Latest PHP') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'php:alpine'
|
image 'php:cli-alpine'
|
||||||
args '-u root --privileged'
|
args '-u root --privileged'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user