Update CI stuff
timw4mail/HummingBirdAnimeClient/develop This commit looks good Details

This commit is contained in:
Timothy Warren 2019-08-16 14:40:15 -04:00
parent d10e930a6b
commit 361ebcbbe4
2 changed files with 20 additions and 5 deletions

View File

@ -7,7 +7,6 @@ php:
- 7.1 - 7.1
- 7.2 - 7.2
- 7.3 - 7.3
- hhvm
- nightly - nightly
script: script:

24
Jenkinsfile vendored
View File

@ -4,8 +4,8 @@ pipeline {
stage('PHP 7.1') { stage('PHP 7.1') {
agent { agent {
docker { docker {
image 'php:7.1-alpine' image 'php:7.1-alpine'
args '-u root --privileged' args '-u root --privileged'
} }
} }
steps { steps {
@ -20,8 +20,8 @@ pipeline {
stage('PHP 7.2') { stage('PHP 7.2') {
agent { agent {
docker { docker {
image 'php:7.2-alpine' image 'php:7.2-alpine'
args '-u root --privileged' args '-u root --privileged'
} }
} }
steps { steps {
@ -33,5 +33,21 @@ pipeline {
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never' sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
} }
} }
stage('PHP 7.3') {
agent {
docker {
image 'php:7.3-alpine'
args '-u root --privileged'
}
}
steps {
sh 'chmod +x ./build/docker_install.sh'
sh 'sh build/docker_install.sh'
sh 'apk add --no-cache php7-phpdbg'
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'
}
}
} }
} }