Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2014-02-26 11:55:10 +01:00
commit d6c46cbcbf
2 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,7 @@ before_script:
- php composer.phar install --dev --no-interaction
script:
- ./scripts/generate-mo --quiet
- ant phpunit lint
- PHPUNIT_ARGS=--debug ant phpunit lint
- if [[ $TRAVIS_PULL_REQUEST != "false" ]] ; then ./scripts/check-dco origin/$TRAVIS_BRANCH..FETCH_HEAD ; fi
after_script:
- php vendor/bin/coveralls -v

View File

@ -5,6 +5,7 @@
<property name="source_comma_sep" value="."/>
<property environment="env"/>
<property name="env.PHPUNIT_XML" value="phpunit.xml.dist"/>
<property name="env.PHPUNIT_ARGS" value=""/>
<target name="clean" description="Clean up and create artifact directories">
<delete dir="${basedir}/build/api"/>
@ -22,13 +23,13 @@
<target name="phpunit" description="Run unit tests using PHPUnit and generates junit.xml and clover.xml">
<exec executable="phpunit" failonerror="true">
<arg line="--configuration ${env.PHPUNIT_XML}"/>
<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">
<arg line="--configuration phpunit.xml.nocoverage"/>
<arg line="--configuration phpunit.xml.nocoverage ${env.PHPUNIT_ARGS}"/>
</exec>
</target>