Attempt to fix build
Some checks reported errors
Gitea - aviat/banker/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Timothy Warren 2021-02-05 15:05:07 -05:00
parent 2f75279113
commit 52c125d249

4
Jenkinsfile vendored
View File

@ -3,15 +3,12 @@ node {
docker.image("memcached:latest").withRun("-p 11212:11211") { c -> docker.image("memcached:latest").withRun("-p 11212:11211") { c ->
docker.image("redis:latest").withRun("-p 6380:6379") { d -> docker.image("redis:latest").withRun("-p 6380:6379") { d ->
docker.image("php:7.4").withRun("") { p -> docker.image("php:7.4").withRun("") { p ->
steps {
sh "sh build/docker_install.sh > /dev/null" sh "sh build/docker_install.sh > /dev/null"
sh "curl -sS https://getcomposer.org/installer | php" sh "curl -sS https://getcomposer.org/installer | php"
sh "php composer.phar install --ignore-platform-reqs" sh "php composer.phar install --ignore-platform-reqs"
sh "phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never" sh "phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never"
} }
}
docker.image("php:8").withRun("") { p -> docker.image("php:8").withRun("") { p ->
steps {
sh "sh build/docker_install.sh > /dev/null" sh "sh build/docker_install.sh > /dev/null"
sh "curl -sS https://getcomposer.org/installer | php" sh "curl -sS https://getcomposer.org/installer | php"
sh "php composer.phar install --ignore-platform-reqs" sh "php composer.phar install --ignore-platform-reqs"
@ -20,4 +17,3 @@ node {
} }
} }
} }
}