Skip to content

Commit 4d908ff

Browse files
authored
Added metafiles and changelog (#700)
* Added metafiles and changelog * Added scrunizer badges * Run scrutinizer after successful build
1 parent fcda187 commit 4d908ff

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.gitattributes export-ignore
2+
.travis.yml export-ignore
3+
phpunit.xml.dist export-ignore
4+
Tests/ export-ignore

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ install:
77
- composer update --prefer-stable --prefer-dist
88

99
script:
10-
- composer test
10+
- composer test-ci
11+
12+
after_success:
13+
- wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover
1114

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Change Log
2+
3+
The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
4+
5+
## 4.0.0
6+
7+
First release of this library.

Readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Latest Stable Version](https://poser.pugx.org/geocoder-php/common-http/v/stable)](https://packagist.org/packages/geocoder-php/common-http)
55
[![Total Downloads](https://poser.pugx.org/geocoder-php/common-http/downloads)](https://packagist.org/packages/geocoder-php/common-http)
66
[![Monthly Downloads](https://poser.pugx.org/geocoder-php/common-http/d/monthly.png)](https://packagist.org/packages/geocoder-php/common-http)
7+
[![Quality Score](https://img.shields.io/scrutinizer/g/geocoder-php/php-common-http.svg?style=flat-square)](https://scrutinizer-ci.com/g/geocoder-php/php-common-http)
78
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
89

910
This package has dependency on HTTP related libraries. Such as the great [HTTPlug](http://httplug.io/) and [PSR7](http://www.php-fig.org/psr/psr-7/).

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
]
3636
},
3737
"scripts": {
38-
"test": "vendor/bin/phpunit"
38+
"test": "vendor/bin/phpunit",
39+
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
3940
},
4041
"minimum-stability": "dev",
4142
"extra": {

0 commit comments

Comments
 (0)