mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 06:16:05 +03:00
Added coveralls to travis config
This commit is contained in:
parent
29670b378b
commit
c846809d2d
11
.travis.yml
11
.travis.yml
@ -5,11 +5,16 @@ php:
|
|||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
- 7.0
|
- 7.0
|
||||||
- nightly
|
- 7.1
|
||||||
- hhvm
|
- hhvm
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer install --prefer-dist
|
- composer install --dev --prefer-dist
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./bin/phpunit tests/
|
- mkdir -p build/logs
|
||||||
|
- bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- composer require "satooshi/php-coveralls:^1.0"
|
||||||
|
- travis_retry php bin/coveralls -v
|
||||||
|
@ -19,10 +19,15 @@
|
|||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist>
|
<whitelist>
|
||||||
<directory>./</directory>
|
<directory suffix=".php">./src</directory>
|
||||||
<exclude>
|
<exclude>
|
||||||
|
<directory>./bin</directory>
|
||||||
|
<directory>./docs</directory>
|
||||||
|
<directory>./build</directory>
|
||||||
<directory>./tests</directory>
|
<directory>./tests</directory>
|
||||||
<directory>./vendor</directory>
|
<directory>./vendor</directory>
|
||||||
|
<directory>./examples</directory>
|
||||||
|
<directory>./benchmarks</directory>
|
||||||
</exclude>
|
</exclude>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
|
Loading…
Reference in New Issue
Block a user