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 - 5.5
before_install: before_install:
- composer self-update - curl -s http://getcomposer.org/installer | php
- composer install --dev --no-interaction - php composer.phar install --dev --no-interaction
- pyrus install pear/PHP_CodeSniffer - pyrus install pear/PHP_CodeSniffer
- phpenv rehash - phpenv rehash
script: script:
- mkdir -p build/logs
- phpcs --standard=PSR2 src/ - phpcs --standard=PSR2 src/
- phpunit - php vendor/bin/phpunit -c phpunit.xml.dist
after_script: after_script:
- php vendor/bin/coveralls - php vendor/bin/coveralls

View File

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