Jenkins CI setup, try eight
Some checks failed
Gitea - aviat/banker/master There was a failure building this commit

This commit is contained in:
Timothy Warren 2018-10-12 10:53:48 -04:00
parent b694230f0b
commit edea686f4c

29
Jenkinsfile vendored
View File

@ -1,22 +1,13 @@
pipeline { node {
agent none checkout scm
stages { docker.image('memcached:latest').withRun('-p 11211:11211') { c ->
stage('PHP 7') { docker.image('redis:latest').withRun('-p 6379:6379') { d ->
agent { docker.image('php:7.2') {
node { steps {
checkout scm sh 'sh build/docker_install.sh > /dev/null'
docker.image('memcached:latest').withRun('-p 11211:11211') { c -> sh 'curl -sS https://getcomposer.org/installer | php'
docker.image('redis:latest').withRun('-p 6379:6379') { d -> sh 'php composer.phar install --ignore-platform-reqs'
docker.image('php:7') { sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
steps {
sh 'sh build/docker_install.sh > /dev/null'
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install --ignore-platform-reqs'
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
}
}
}
}
} }
} }
} }