From 0ad98b9347265ca1bc38c350ba6987eb02b5a544 Mon Sep 17 00:00:00 2001 From: Manjiri Tapaswi Date: Mon, 30 Oct 2017 12:00:44 -0700 Subject: [PATCH] Fixes #67 Add CodeCov support to .travis.yml --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c9ad9ca..0ba5d28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,9 @@ before_script: - composer install --dev --no-interaction - cd test/unit script: -- ../../vendor/bin/phpunit . --bootstrap bootstrap.php --filter test* --coverage-clover clover.xml +- ../../vendor/bin/phpunit . --bootstrap bootstrap.php --filter test* --coverage-clover=coverage.xml +after_success: +- bash <(curl -s https://codecov.io/bash) php: - 5.6 - 7.0 @@ -22,4 +24,4 @@ notifications: Build %{build_number} on branch %{branch} by %{author}: %{message} View on GitHub' format: html - notify: true \ No newline at end of file + notify: true