Attempt2 with Jenkins
This commit is contained in:
parent
8100f6fd71
commit
562e88dc43
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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'
|
||||||
@ -26,4 +29,3 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user