Test PHP 8.1
Some checks failed
Gitea - aviat/banker/pipeline/head There was a failure building this commit
Some checks failed
Gitea - aviat/banker/pipeline/head There was a failure building this commit
This commit is contained in:
parent
3362d66663
commit
526f32b868
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -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') {
|
stage('Code Cleanliness') {
|
||||||
agent any
|
agent any
|
||||||
steps {
|
steps {
|
||||||
|
@ -29,15 +29,15 @@
|
|||||||
"php": ">= 8",
|
"php": ">= 8",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"predis/predis": "^1.1",
|
"predis/predis": "^1.1",
|
||||||
"psr/log": "^1.0",
|
"psr/log": "^1.0 | ^3.0",
|
||||||
"psr/cache": "^3.0.0",
|
"psr/cache": "^3.0.0",
|
||||||
"psr/simple-cache": "^1.0.1"
|
"psr/simple-cache": "^3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"ext-apcu": "*",
|
"ext-apcu": "*",
|
||||||
"ext-memcached": "*",
|
"ext-memcached": "*",
|
||||||
"consolidation/robo": "^2.0.0",
|
"consolidation/robo": "^3.0.6",
|
||||||
"monolog/monolog": "^2.0.1",
|
"monolog/monolog": "^2.3.5",
|
||||||
"pdepend/pdepend": "^2.2",
|
"pdepend/pdepend": "^2.2",
|
||||||
"phploc/phploc": "^7.0",
|
"phploc/phploc": "^7.0",
|
||||||
"phpmd/phpmd": "^2.4",
|
"phpmd/phpmd": "^2.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user