Skip to content

Commit abbcae0

Browse files
authored
Merge 0265ee1 into ff53f00
2 parents ff53f00 + 0265ee1 commit abbcae0

File tree

8 files changed

+609
-15
lines changed

8 files changed

+609
-15
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: php
2+
3+
php:
4+
- '7.1'
5+
- '7.2'
6+
7+
before_script:
8+
- composer install
9+
10+
script:
11+
- vendor/bin/phpunit
12+
13+
after_success:
14+
- travis_retry php vendor/bin/php-coveralls -v

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# php-json-logger
2+
[![Build Status](https://travis-ci.org/nekonomokochan/php-json-logger.svg?branch=master)](https://travis-ci.org/nekonomokochan/php-json-logger)
3+
[![Coverage Status](https://coveralls.io/repos/github/nekonomokochan/php-json-logger/badge.svg?branch=master)](https://coveralls.io/github/nekonomokochan/php-json-logger?branch=master)
4+
25
LoggingLibrary for PHP. Output by JSON Format
36

47
This Library is mainly intended for use in web applications.

build/cov/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

build/logs/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
"require-dev": {
2929
"php": ">= 7.0.0",
3030
"phpunit/phpunit": "^7.1",
31-
"friendsofphp/php-cs-fixer": "^2.11"
31+
"friendsofphp/php-cs-fixer": "^2.11",
32+
"php-coveralls/php-coveralls": "^2.1",
33+
"phpunit/phpcov": "^5.0"
3234
},
3335
"scripts": {
3436
"test": "phpunit",
35-
"test:coverage": "phpunit --coverage-html coverage",
37+
"test:coverage:html": "phpunit --coverage-html coverage",
3638
"format": "php-cs-fixer fix --diff -v --config .php_cs.dist"
3739
}
3840
}

0 commit comments

Comments
 (0)