From 437ec8275c5ce2103acffbe5b61f28a8a7f3bacd Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Thu, 4 Feb 2016 15:44:46 +0100
Subject: [PATCH] Report coverage only for successful builds.

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index cd14b9d88..e6afce7f3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,7 @@ matrix:
   - php: hhvm
 before_script: composer update --dev
 script: phpunit --configuration tools/phpunit
-after_script:
+after_success:
 - if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/bin/coveralls -v; fi
 notifications:
   slack:
-- 
GitLab