This should speed up the build a little bit

This commit is contained in:
Joshua Estes 2014-07-03 12:57:54 -04:00
parent aab1267302
commit b6e0e367d4
1 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project name="bitpay/magento-plugin" default="build"> <project name="bitpay/magento-plugin" default="build">
<!-- <!--
Default properties
--> -->
<property file="build.properties" /> <property file="build.properties" />
@ -13,7 +14,14 @@
<!-- <!--
Used to run a build on Travis CI Used to run a build on Travis CI
--> -->
<target name="build-travis" depends="lint,phpunit,coveralls"> <target name="build-travis" depends="prepare">
<parallel threadCount="3">
<phingcall target="lint" />
<phingcall target="database:create" />
<phingcall target="magento:install" />
</parallel>
<phingcall target="phpunit" />
<phingcall target="coveralls" />
</target> </target>
<target name="clean" hidden="true"> <target name="clean" hidden="true">
@ -25,7 +33,7 @@
<mkdir dir="build/logs" /> <mkdir dir="build/logs" />
</target> </target>
<target name="lint" depends="prepare"> <target name="lint">
<phplint> <phplint>
<fileset dir="app/code/community/Bitpay/Bitcoins"> <fileset dir="app/code/community/Bitpay/Bitcoins">
<include name="**/*.php"/> <include name="**/*.php"/>
@ -55,7 +63,7 @@
</exec> </exec>
</target> </target>
<target name="magento:install" depends="prepare"> <target name="magento:install">
<exec executable="bin/n98-magerun" passthru="true" escape="true" level="debug"> <exec executable="bin/n98-magerun" passthru="true" escape="true" level="debug">
<arg value="install" /> <arg value="install" />
<arg value="-n" /> <arg value="-n" />