php-kilo/Jenkinsfile
Timothy J Warren 94a3c66a5d
All checks were successful
Gitea - Tutorials/php-kilo/master This commit looks good
fix case of Jenkinsfile
2019-11-20 16:15:57 -05:00

19 lines
432 B
Groovy

pipeline {
agent none
stages {
stage('PHP 7.4RC6') {
agent {
docker {
image 'php:7.4.0RC6-alpine'
args '-u root --privileged'
}
}
steps {
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'
}
}
}
}