From c846809d2d62f843fd73241e2e0f89bbd7a9d15c Mon Sep 17 00:00:00 2001 From: vladar Date: Tue, 1 Nov 2016 17:39:52 +0700 Subject: [PATCH] Added coveralls to travis config --- .travis.yml | 11 ++++++++--- phpunit.xml.dist | 7 ++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b1c5bea..e463deb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,16 @@ php: - 5.5 - 5.6 - 7.0 - - nightly + - 7.1 - hhvm install: - - composer install --prefer-dist + - composer install --dev --prefer-dist script: - - ./bin/phpunit tests/ + - mkdir -p build/logs + - bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml + +after_success: + - composer require "satooshi/php-coveralls:^1.0" + - travis_retry php bin/coveralls -v diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3b3b949..3f6ebef 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -19,10 +19,15 @@ - ./ + ./src + ./bin + ./docs + ./build ./tests ./vendor + ./examples + ./benchmarks