From 30c87a47ffab7f5de1e3134edf1589699ff58bee Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 8 Aug 2018 11:43:06 +0200 Subject: [PATCH] Adding Code-Coverage to the Friendica code-base (#5570) * friendica-5568 Adding Code-Coverage to the Friendica code-base * Adding codecov.io-badge * removing badge for now --- .travis.yml | 2 +- phpunit.xml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6d133a0b4a..bb8b113112 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,4 @@ before_script: - mysql -utravis test < database.sql - echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - +after_success: bash <(curl -s https://codecov.io/bash) diff --git a/phpunit.xml b/phpunit.xml index b6f6247f67..9ed293b631 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -7,4 +7,23 @@ tests/ + + + + . + + config/ + doc/ + images/ + library/ + spec/ + tests/ + util/ + view/ + + + + + + -- 2.39.5