Yet another CI code coverage commit
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
f242b0dbfa
commit
dac6d4b775
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
@ -23,17 +23,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||
}
|
||||
}
|
||||
stage('PHP 7.4') {
|
||||
agent {
|
||||
docker {
|
||||
image 'php:7.4-alpine'
|
||||
args '-u root --privileged'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
|
||||
sh 'apk update'
|
||||
sh 'apk add --no-cache git php7-phpdbg'
|
||||
sh 'phpdbg -dmemory_limit=2g -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never'
|
||||
@ -44,5 +34,16 @@ pipeline {
|
||||
])
|
||||
}
|
||||
}
|
||||
stage('PHP 7.4') {
|
||||
agent {
|
||||
docker {
|
||||
image 'php:7.4-alpine'
|
||||
args '-u root --privileged'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user