From 7358b947851ace9fbc54084cb8bf9255f1647fb4 Mon Sep 17 00:00:00 2001 From: Melvin Lee Date: Mon, 6 Feb 2017 19:37:55 +0800 Subject: [PATCH] Add Coveralls support --- .editorconfig | 5 ++++- .travis.yml | 3 +++ composer.json | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 6da0718..e06bef9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,5 +12,8 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true +[*.yml] +indent_size = 2 + [*.md] -trim_trailing_whitespace = false \ No newline at end of file +trim_trailing_whitespace = false diff --git a/.travis.yml b/.travis.yml index 2cb33b6..a79a082 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,4 +9,7 @@ before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction --dev +after_success: + - travis_retry php vendor/bin/coveralls + script: phpunit diff --git a/composer.json b/composer.json index c00c7b9..ef52a29 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,8 @@ "require-dev": { "mockery/mockery": "^0.9.5", "orchestra/testbench": "^3.3", - "phpunit/phpunit": "^5.4" + "phpunit/phpunit": "^5.4", + "satooshi/php-coveralls": "^1.0" }, "autoload": { "psr-4": {