Updates for Coveralls. Also always installing a local composer as the Travis one is giving us issues

This commit is contained in:
Gregory Oschwald 2013-05-20 12:50:10 -07:00
parent b077a3cda7
commit fd1231e5f8
2 changed files with 9 additions and 3 deletions

View File

@ -6,14 +6,15 @@ php:
- 5.5
before_install:
- composer self-update
- composer install --dev --no-interaction
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --no-interaction
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash
script:
- mkdir -p build/logs
- phpcs --standard=PSR2 src/
- phpunit
- php vendor/bin/phpunit -c phpunit.xml.dist
after_script:
- php vendor/bin/coveralls

View File

@ -12,4 +12,9 @@
<directory suffix=".php">./src/GeoIP2/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>