Attempt to get CI working

This commit is contained in:
Timothy Warren 2019-11-20 16:11:31 -05:00
parent 96673d94af
commit a18b93e07f
1 changed files with 19 additions and 0 deletions

19
JenkinsFile Normal file
View File

@ -0,0 +1,19 @@
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'
}
}
}
}