parent
6169998b92
commit
4fc2a6c2e4
|
@ -7,4 +7,7 @@ install:
|
|||
- composer install
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit --bootstrap vendor/autoload.php tests
|
||||
- vendor/bin/phpunit --coverage-clover=coverage.xml --whitelist src --bootstrap vendor/autoload.php tests
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[](https://packagist.org/packages/felixfbecker/language-server)
|
||||
[](https://travis-ci.org/felixfbecker/php-language-server)
|
||||
[](https://codecov.io/gh/felixfbecker/php-language-server)
|
||||
[](https://gemnasium.com/github.com/felixfbecker/php-language-server)
|
||||
[](https://github.com/felixfbecker/php-language-server/blob/master/LICENSE.txt)
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
target: auto
|
||||
threshold: null
|
||||
base: auto
|
||||
|
||||
comment:
|
||||
layout: "header, diff, tree, changes"
|
||||
behavior: default
|
||||
require_changes: false # if true: only post the comment if coverage changes
|
||||
branches: null
|
||||
flags: null
|
||||
paths: null
|
|
@ -42,6 +42,7 @@
|
|||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.5"
|
||||
"phpunit/phpunit": "^5.5",
|
||||
"phpunit/php-code-coverage": "^4.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue