Attempt2 with Jenkins
Some checks failed
aviat/HummingBirdAnimeClient/develop There was a failure building this commit

This commit is contained in:
Timothy Warren 2018-10-11 11:54:27 -04:00
parent 8100f6fd71
commit 562e88dc43

34
Jenkinsfile vendored
View File

@ -3,26 +3,28 @@ pipeline {
stages { stages {
stage('PHP 7.1') { stage('PHP 7.1') {
agent { agent {
docker { image 'php:7.1-alpine' } label 'php-7.1'
steps { }
sh 'build/docker_install.sh > /dev/null' docker { image 'php:7.1-alpine' }
'apk add --no-cache php7-phpdbg' steps {
'curl -sS https://getcomposer.org/installer | php' sh 'build/docker_install.sh > /dev/null'
'php composer.phar install --ignore-platform-reqs' 'apk add --no-cache php7-phpdbg'
'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never' 'curl -sS https://getcomposer.org/installer | php'
} 'php composer.phar install --ignore-platform-reqs'
'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
} }
} }
stage('PHP 7.2') { stage('PHP 7.2') {
agent { agent {
docker { image 'php:7.2-alpine' } label 'php-7.2'
steps { }
sh 'build/docker_install.sh > /dev/null' docker { image 'php:7.2-alpine' }
'apk add --no-cache php7-phpdbg' steps {
'curl -sS https://getcomposer.org/installer | php' sh 'build/docker_install.sh > /dev/null'
'php composer.phar install --ignore-platform-reqs' 'apk add --no-cache php7-phpdbg'
'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never' 'curl -sS https://getcomposer.org/installer | php'
} 'php composer.phar install --ignore-platform-reqs'
'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
} }
} }
} }