summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-11-19 08:29:42 +0100
committerRemi Collet <fedora@famillecollet.com>2015-11-19 08:29:42 +0100
commit3ad290878fc93458f8ed746e30487ce34f3badcc (patch)
treec13fb72674b8d754a30c08ad8fa5621bb864ed63
parent589e58da76f99766fd127d777f9229d6ac9fc6d5 (diff)
php-zendframework-zend-*: run test suite with PHP 7 when available
-rw-r--r--php-zendframework-zend-diactoros.spec4
1 files changed, 4 insertions, 0 deletions
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