diff options
author | Chirayu Chiripal <chirayu.chiripal@gmail.com> | 2014-08-31 12:20:38 +0400 |
---|---|---|
committer | Chirayu Chiripal <chirayu.chiripal@gmail.com> | 2014-08-31 13:23:03 +0400 |
commit | 20ab54ac9a21acb875a295906a9ad948050688fc (patch) | |
tree | be8d502d8b9c53703ba59d29c0d0e92ee4980f1d | |
parent | 4960f208e20ad7fd8b77cef9dcc82772c29def92 (diff) |
use phpunit 4.1.x for testing
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
-rw-r--r-- | build.xml | 6 | ||||
-rw-r--r-- | composer.json | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -24,19 +24,19 @@ </target> <target name="phpunit" description="Run unit tests using PHPUnit and generates junit.xml and clover.xml"> - <exec executable="phpunit" failonerror="true"> + <exec executable="${basedir}/vendor/bin/phpunit" failonerror="true"> <arg line="--configuration ${env.PHPUNIT_XML} ${env.PHPUNIT_ARGS}"/> </exec> </target> <target name="phpunit-nocoverage" description="Run unit tests using PHPUnit and generates junit.xml"> - <exec executable="phpunit" failonerror="true"> + <exec executable="${basedir}/vendor/bin/phpunit" failonerror="true"> <arg line="--configuration ${env.PHPUNIT_XML_NOCOVERAGE} ${env.PHPUNIT_ARGS}"/> </exec> </target> <target name="phpunit-hhvm" description="Run unit tests using PHPUnit with HHVM specific config"> - <exec executable="phpunit" failonerror="true"> + <exec executable="${basedir}/vendor/bin/phpunit" failonerror="true"> <arg line="--configuration ${env.PHPUNIT_XML_HHVM} ${env.PHPUNIT_ARGS}"/> </exec> </target> diff --git a/composer.json b/composer.json index e5c79ed78c..117a2c855c 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ }, "require-dev": { "satooshi/php-coveralls": ">=0.6", - "phpunit/phpunit": ">=3.7", + "phpunit/phpunit": "<4.2", "phpunit/phpunit-selenium": ">=1.2" } } |