Attempt2 with Jenkins
This commit is contained in:
parent
509db151e7
commit
ccc9ad0c14
34
Jenkinsfile
vendored
34
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user