Updates for Coveralls. Also always installing a local composer as the Travis one is giving us issues
This commit is contained in:
parent
b077a3cda7
commit
fd1231e5f8
|
@ -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
|
||||
|
|
|
@ -12,4 +12,9 @@
|
|||
<directory suffix=".php">./src/GeoIP2/</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
<logging>
|
||||
<log type="coverage-clover" target="build/logs/clover.xml"/>
|
||||
</logging>
|
||||
|
||||
</phpunit>
|
||||
|
|
Loading…
Reference in New Issue
Block a user