php-kilo/Jenkinsfile
Timothy J Warren 5ffa267e15
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
Attempt to enable ffi for code coverage
2019-12-04 16:45:13 -05:00

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'
}
}
}
}