From dbdddf39854b7983a61b2592c93ff9a7fe8433af Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Wed, 21 Sep 2016 16:42:35 +0200
Subject: [PATCH] Avoid travis segfaulting phpunit withn PHP 5.3 (#477)

The segfault happens in the coverage report. Since we send coverage
info only with PHP 5.6, avoid running it entirely, saves buildtime aswell.
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index ce3ec8169..030f83717 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,7 @@ matrix:
   - php: hhvm
 before_script: composer update --dev
 script:
-- php vendor/phpunit/phpunit/phpunit --configuration tools/phpunit
+- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/phpunit/phpunit/phpunit --configuration tools/phpunit; else php vendor/phpunit/phpunit/phpunit --configuration tools/phpunit --no-coverage; fi
 - bin/check-syntax.sh
 after_success:
 - if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/bin/coveralls -v; fi
-- 
GitLab