mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
CircleCi, CodeCoverage and composer dependencies
This commit is contained in:
parent
f4a70a1769
commit
9b30ce76e8
3 changed files with 13 additions and 2 deletions
|
@ -13,4 +13,8 @@ before_script:
|
||||||
- travis_retry composer self-update
|
- travis_retry composer self-update
|
||||||
- travis_retry composer install --no-interaction
|
- travis_retry composer install --no-interaction
|
||||||
|
|
||||||
script: phpunit --configuration phpunit.xml --coverage-text
|
script:
|
||||||
|
- vendor/bin/phpunit --configuration phpunit.xml --coverage-clover=coverage.xml
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
7
circle.yml
Normal file
7
circle.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
machine:
|
||||||
|
php:
|
||||||
|
version: 7.0.7
|
||||||
|
|
||||||
|
test:
|
||||||
|
override:
|
||||||
|
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text
|
|
@ -45,7 +45,7 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^5.0",
|
"phpunit/phpunit": "^5.0",
|
||||||
"squizlabs/php_codesniffer": "2.6.*",
|
"squizlabs/php_codesniffer": "2.7.*",
|
||||||
"sebastian/phpcpd": "2.0.*"
|
"sebastian/phpcpd": "2.0.*"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue