adding behat to jenkins

This commit is contained in:
Fernando Ontiveros
2013-12-19 10:35:38 -04:00
parent 20eb16cc1c
commit 23a23d4f03

View File

@@ -2,7 +2,7 @@
<project name="ProcessMaker Michelangelo" default="build-phpcs"> <project name="ProcessMaker Michelangelo" default="build-phpcs">
<target name="build" <target name="build"
depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox"/> depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox, behat"/>
<target name="build-simple" <target name="build-simple"
depends="prepare,phpunit,phpcs-ci,phploc,lint"/> depends="prepare,phpunit,phpcs-ci,phploc,lint"/>
@@ -135,5 +135,17 @@
<arg path="${basedir}/build/code-browser" /> <arg path="${basedir}/build/code-browser" />
</exec> </exec>
</target> </target>
<target name="behat" description="Behaviour tests with Behat">
<exec executable="vendor/behat/behat/bin/behat">
<arg value="--format" />
<arg value="junit,html,progress" />
<arg value="--out" />
<arg value="build/logs/behat,build/docs/html/behat.html" />
<arg value="--no-snippets-paths" />
<arg value="--no-paths" />
</exec>
</target>
</project> </project>