diff --git a/.travis.yml b/.travis.yml index cfa75fae4..40b7b55b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,8 @@ before_script: - travis_retry composer self-update - 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) diff --git a/circle.yml b/circle.yml new file mode 100644 index 000000000..9e09ce186 --- /dev/null +++ b/circle.yml @@ -0,0 +1,7 @@ +machine: + php: + version: 7.0.7 + +test: + override: + - vendor/bin/phpunit --configuration phpunit.xml --coverage-text diff --git a/composer.json b/composer.json index 0b5addabc..b4bd222e3 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,7 @@ }, "require-dev": { "phpunit/phpunit": "^5.0", - "squizlabs/php_codesniffer": "2.6.*", + "squizlabs/php_codesniffer": "2.7.*", "sebastian/phpcpd": "2.0.*" }, "autoload": {