From a18b93e07fdab55442d4645de44868728199b5de Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 20 Nov 2019 16:11:31 -0500 Subject: [PATCH] Attempt to get CI working --- JenkinsFile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 JenkinsFile diff --git a/JenkinsFile b/JenkinsFile new file mode 100644 index 0000000..b160ab0 --- /dev/null +++ b/JenkinsFile @@ -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' + } + } + } + } \ No newline at end of file