add coverage

This commit is contained in:
Robin Appelman 2014-07-22 01:15:11 +02:00
commit 2e8af98252
2 changed files with 10 additions and 3 deletions

View file

@ -32,9 +32,13 @@ before_install:
- testparm -s
install:
- composer install
- composer install --dev --no-interaction
script:
# Run phpunit tests
- mkdir -p build/logs
- cd tests
- phpunit --configuration phpunit.xml
- phpunit --coverage-clover ../build/logs/clover.xml --configuration phpunit.xml
after_script:
- cd $CURRENT_DIR
- php vendor/bin/coveralls -v