From e50d56d70951e113d52a6bf8eb6a1a29a9614a32 Mon Sep 17 00:00:00 2001 From: votintsev Date: Thu, 13 Jul 2017 15:28:52 +0300 Subject: [PATCH] Update travis.yml --- .travis.yml | 7 +++++-- phpunit.xml | 7 ++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 36880bb..33fae8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,5 +16,8 @@ script: - ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - - wget https://scrutinizer-ci.com/ocular.phar - - php ocular.phar code-coverage:upload --format=php-clover coverage.clover build/logs/clover.xml \ No newline at end of file + - | + if [ -f "build/logs/clover.xml" ]; then + wget https://scrutinizer-ci.com/ocular.phar + php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml + fi \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml index 139a89f..c962501 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -10,10 +10,15 @@ processIsolation="false" stopOnFailure="false"> - + ./tests/ + + + ./src + +