Attempt2 with Jenkins

This commit is contained in:
Timothy Warren 2018-10-11 11:54:27 -04:00
parent 509db151e7
commit ccc9ad0c14

6
Jenkinsfile vendored
View File

@ -3,6 +3,8 @@ pipeline {
stages { stages {
stage('PHP 7.1') { stage('PHP 7.1') {
agent { agent {
label 'php-7.1'
}
docker { image 'php:7.1-alpine' } docker { image 'php:7.1-alpine' }
steps { steps {
sh 'build/docker_install.sh > /dev/null' sh 'build/docker_install.sh > /dev/null'
@ -12,9 +14,10 @@ pipeline {
'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never' 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
} }
} }
}
stage('PHP 7.2') { stage('PHP 7.2') {
agent { agent {
label 'php-7.2'
}
docker { image 'php:7.2-alpine' } docker { image 'php:7.2-alpine' }
steps { steps {
sh 'build/docker_install.sh > /dev/null' sh 'build/docker_install.sh > /dev/null'
@ -25,5 +28,4 @@ pipeline {
} }
} }
} }
}
} }