php-kilo/Jenkinsfile
Timothy J Warren 94a3e2df7a
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
Try CI with custom docker file
2019-12-04 15:59:18 -05:00

13 lines
335 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('PHP 7.4') {
steps {
sh 'apk add --no-cache php7-phpdbg'
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install'
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests'
}
}
}
}