Test PHP 8.1
Gitea - aviat/banker/pipeline/head There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2021-11-30 11:48:49 -05:00
parent 3362d66663
commit 526f32b868
2 changed files with 18 additions and 4 deletions

14
Jenkinsfile vendored
View File

@ -23,6 +23,20 @@ pipeline {
}
}
}
stage("Test PHP 8.1") {
steps {
script {
docker.image("memcached:latest").withRun("-p 11212:11211") { c ->
docker.image("redis:latest").withRun("-p 6380:6379") { d ->
docker.image("php:8.1").withRun("-e REDIS_HOST=redis -e REDIS_PORT=11212 -e MEMCACHED_HOST=mem -e MEMCACHED_PORT=6380 --link ${d.id}:redis --link ${c.id}:mem") { p ->
sh "sh build/docker_install.sh"
sh "php ./vendor/bin/phpunit -c build --no-coverage --colors=never"
}
}
}
}
}
}
stage('Code Cleanliness') {
agent any
steps {

View File

@ -29,15 +29,15 @@
"php": ">= 8",
"ext-json": "*",
"predis/predis": "^1.1",
"psr/log": "^1.0",
"psr/log": "^1.0 | ^3.0",
"psr/cache": "^3.0.0",
"psr/simple-cache": "^1.0.1"
"psr/simple-cache": "^3.0.0"
},
"require-dev": {
"ext-apcu": "*",
"ext-memcached": "*",
"consolidation/robo": "^2.0.0",
"monolog/monolog": "^2.0.1",
"consolidation/robo": "^3.0.6",
"monolog/monolog": "^2.3.5",
"pdepend/pdepend": "^2.2",
"phploc/phploc": "^7.0",
"phpmd/phpmd": "^2.4",