From 3ad290878fc93458f8ed746e30487ce34f3badcc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 19 Nov 2015 08:29:42 +0100 Subject: php-zendframework-zend-*: run test suite with PHP 7 when available --- php-zendframework-zend-diactoros.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'php-zendframework-zend-diactoros.spec') diff --git a/php-zendframework-zend-diactoros.spec b/php-zendframework-zend-diactoros.spec index dc86792..bfc8bda 100644 --- a/php-zendframework-zend-diactoros.spec +++ b/php-zendframework-zend-diactoros.spec @@ -148,6 +148,10 @@ require_once __DIR__ . '/test/TestAsset/SapiResponse.php'; BOOTSTRAP %{_bindir}/phpunit --verbose --bootstrap ./bootstrap.php + +if which php70; then + php70 %{_bindir}/phpunit --verbose --bootstrap ./bootstrap.php +fi %else : Tests skipped %endif -- cgit