Merge pull request #117 from Exile37/circle_ci_init

CircleCi, CodeCoverage and composer dependencies
This commit is contained in:
Yuriy Pikhtarev 2017-01-20 23:17:36 +03:00 committed by GitHub
commit e829eaacb2
3 changed files with 13 additions and 2 deletions

View file

@ -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
View file

@ -0,0 +1,7 @@
machine:
php:
version: 7.0.7
test:
override:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text

View file

@ -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": {