Skip to content

Commit 0de2895

Browse files
author
Denis Smetannikov
committed
fixes php-coveralls
1 parent 5b663d6 commit 0de2895

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ script:
1919
- make
2020
- make test-all
2121

22-
after_script:
23-
- make coveralls
22+
after_success:
23+
- travis_retry php vendor/bin/php-coveralls -v

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,3 @@ clean:
7171
@mkdir -vp ./build
7272
@rm -fr ./vendor
7373
@rm -vf ./composer.lock
74-
75-
coveralls:
76-
@echo "\033[0;33m>>> >>> >>> >>> >>> >>> >>> >>> \033[0;30;46m Send coverage to coveralls.io \033[0m"
77-
@php ./vendor/php-coveralls/php-coveralls/bin/php-coveralls --verbose
78-
@echo ""

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ A collection of useful PHP functions, mini classes and snippets that you need or
77

88
## Install
99
```sh
10-
composer require jbzoo/utils:"1.x-dev" # Last version
1110
composer require jbzoo/utils # Stable version
1211
```
1312

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"array", "cli", "command line", "dates", "email", "env", "filter", "http", "url", "serialize",
1010
"slugify", "string", "mbstring", "timer", "misc"
1111
],
12+
1213
"authors" : [
1314
{
1415
"name" : "SmetDenis",
@@ -24,6 +25,7 @@
2425
"email" : "[email protected]"
2526
}
2627
],
28+
2729
"require" : {
2830
"php" : ">=7.1",
2931
"ext-posix" : "*",
@@ -55,14 +57,11 @@
5557
"JBZoo\\Utils\\" : "src"
5658
}
5759
},
58-
"extra" : {
59-
"branch-alias" : {
60-
"dev-master" : "1.x-dev"
61-
}
62-
},
60+
6361
"config" : {
6462
"optimize-autoloader" : true
6563
},
64+
6665
"support" : {
6766
"issues" : "https://github.com/JBZoo/Utils/issues"
6867
}

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
<logging>
4040
<log type="coverage-clover" target="build/logs/clover.xml"/>
41+
<log type="coverage-php" target="build/cov/coverage.cov"/>
4142
<log type="coverage-html" target="build/phpunit" lowUpperBound="80" highLowerBound="95"/>
4243
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true" showOnlySummary="false"/>
4344
</logging>

0 commit comments

Comments
 (0)