From 9d23502eea7c1df97fdb83a275a037d577618859 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 27 Jul 2016 19:27:25 +0200 Subject: php-mongodb: cleanup --- php-mongodb.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/php-mongodb.spec b/php-mongodb.spec index 53db0b7..fa999e7 100644 --- a/php-mongodb.spec +++ b/php-mongodb.spec @@ -123,10 +123,20 @@ $Loader->register(); EOF : Run the test suite +RET=0 +# remirepo:10 +run=0 +if which php56; then + php56 %{_bindir}/phpunit --verbose || RET=1 + run=1 +fi +if which php71; then + php71 %{_bindir}/phpunit --verbose || RET=1 + run=1 +fi +if [ $run -eq 0 ]; then %{_bindir}/phpunit --verbose || RET=1 - -if which php70; then - php70 %{_bindir}/phpunit --verbose || RET=1 +# remirepo:1 fi : Cleanup -- cgit