php-kilo/Jenkinsfile

16 lines
349 B
Groovy

pipeline {
agent {
dockerfile {
args '-u root --privileged'
}
}
stages {
stage('PHP 7.4') {
steps {
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install'
sh 'phpdbg -dffi.enable=1 -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests'
}
}
}
}