Skip to content

Commit 8b380f1

Browse files
authored
Added metafiles and changelog (#700)
* Added metafiles and changelog * Added scrunizer badges * Run scrutinizer after successful build
1 parent f123641 commit 8b380f1

File tree

109 files changed

+414
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+414
-43
lines changed

src/Common/.gitattributes

Lines changed: 4 additions & 0 deletions
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

src/Common/.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ 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

src/Common/CHANGELOG.md

Lines changed: 7 additions & 0 deletions

src/Common/Readme.md

Lines changed: 1 addition & 0 deletions

src/Common/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
]
2929
},
3030
"scripts": {
31-
"test": "vendor/bin/phpunit"
31+
"test": "vendor/bin/phpunit",
32+
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
3233
},
3334
"extra": {
3435
"branch-alias": {

src/Http/.gitattributes

Lines changed: 4 additions & 0 deletions
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

src/Http/.travis.yml

Lines changed: 4 additions & 1 deletion
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

src/Http/CHANGELOG.md

Lines changed: 7 additions & 0 deletions

src/Http/Readme.md

Lines changed: 1 addition & 0 deletions

src/Http/composer.json

Lines changed: 2 additions & 1 deletion
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)