mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 04:46:04 +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.6
|
||||
- 7.0
|
||||
- nightly
|
||||
- 7.1
|
||||
- hhvm
|
||||
|
||||
install:
|
||||
- composer install --prefer-dist
|
||||
- composer install --dev --prefer-dist
|
||||
|
||||
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>
|
||||
<whitelist>
|
||||
<directory>./</directory>
|
||||
<directory suffix=".php">./src</directory>
|
||||
<exclude>
|
||||
<directory>./bin</directory>
|
||||
<directory>./docs</directory>
|
||||
<directory>./build</directory>
|
||||
<directory>./tests</directory>
|
||||
<directory>./vendor</directory>
|
||||
<directory>./examples</directory>
|
||||
<directory>./benchmarks</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
Loading…
Reference in New Issue
Block a user