Skip to content

Commit 224752d

Browse files
authored
Test coverals (#279)
Changed coveralls to codecov
1 parent aa0344b commit 224752d

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

.coveralls.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/vendor/
22
/phpunit.xml
33
/composer.lock
4+
coverage.xml

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ php:
66
- 7.2
77
env:
88
global:
9-
- ES_VERSION=6.5.4 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
9+
- ES_VERSION=6.7.1 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
1010
install:
1111
- wget ${ES_DOWNLOAD_URL}
1212
- tar -xzf elasticsearch-${ES_VERSION}.tar.gz
@@ -16,7 +16,7 @@ before_script:
1616
- composer install --no-interaction --prefer-dist
1717
script:
1818
- wget -q --waitretry=1 --retry-connrefused -T 10 -O - http://127.0.0.1:9200
19-
- vendor/bin/phpunit --coverage-clover=coverage.clover
19+
- vendor/bin/phpunit --coverage-clover=coverage.xml
2020
- vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/ ./
2121
after_script:
22-
- travis_retry php vendor/bin/php-coveralls
22+
- travis_retry bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ If you need any help, [stack overflow](http://stackoverflow.com/questions/tagged
66
is the preffered and recommended way to ask ONGR support questions.
77

88
[![Build Status](https://travis-ci.org/ongr-io/ElasticsearchDSL.svg?branch=master)](https://travis-ci.org/ongr-io/ElasticsearchDSL)
9+
[![codecov](https://codecov.io/gh/ongr-io/ElasticsearchDSL/branch/master/graph/badge.svg)](https://codecov.io/gh/ongr-io/ElasticsearchDSL)
910
[![Coverage Status](https://coveralls.io/repos/ongr-io/ElasticsearchDSL/badge.svg?branch=master&service=github)](https://coveralls.io/github/ongr-io/ElasticsearchDSL?branch=master)
1011
[![Latest Stable Version](https://poser.pugx.org/ongr/elasticsearch-dsl/v/stable)](https://packagist.org/packages/ongr/elasticsearch-dsl)
1112
[![Total Downloads](https://poser.pugx.org/ongr/elasticsearch-dsl/downloads)](https://packagist.org/packages/ongr/elasticsearch-dsl)

phpunit.xml.dist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232
</exclude>
3333
</whitelist>
3434
</filter>
35-
3635
<logging>
3736
<log type="coverage-text" target="php://stdout" showOnlySummary="true"/>
3837
</logging>
39-
4038
</phpunit>

0 commit comments

Comments
 (0)