summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-02 13:45:17 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-02 13:45:17 +0100
commitc35cf6105916bca232d77b8898acfd346b0a47e4 (patch)
treea6166c6b1724670e9e441212fd46a3e59f92007c
parent8ddf476d338240668a6eb80c10e3d3fac6c99460 (diff)
php-phpunit-environment: 1.3.3
-rw-r--r--php-phpunit-environment.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-phpunit-environment.spec b/php-phpunit-environment.spec
index 6767b43..e910029 100644
--- a/php-phpunit-environment.spec
+++ b/php-phpunit-environment.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 6324c907ce7a52478eeeaede764f48733ef5ae44
+%global gh_commit 6e7133793a8e5a5714a551a8324337374be209df
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project environment
@@ -19,7 +19,7 @@
%endif
Name: php-phpunit-environment
-Version: 1.3.2
+Version: 1.3.3
Release: 1%{?dist}
Summary: Handle HHVM/PHP environments
@@ -77,6 +77,11 @@ cp -pr SebastianBergmann/Environment \
: Run tests - set include_path to ensure PHPUnit autoloader use it
%{_bindir}/php -d include_path=.:%{buildroot}%{php_home}:%{php_home} \
%{_bindir}/phpunit --bootstrap %{buildroot}%{php_home}/SebastianBergmann/Environment/autoload.php
+
+if which php70; then
+ php70 -d include_path=.:%{buildroot}%{php_home}:%{php_home} \
+ %{_bindir}/phpunit --bootstrap %{buildroot}%{php_home}/SebastianBergmann/Environment/autoload.php
+fi
%endif
@@ -94,6 +99,10 @@ rm -rf %{buildroot}
%changelog
+* Wed Dec 2 2015 Remi Collet <remi@fedoraproject.org> - 1.3.3-1
+- update to 1.3.3 (no change on linux)
+- run test suite with both php 5 and 7 when available
+
* Mon Aug 3 2015 Remi Collet <remi@fedoraproject.org> - 1.3.2-1
- update to 1.3.2