From a1ca73d1e1a261a38af36cfdaa3512be8dd11c33 Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Tue, 26 Jan 2016 22:28:56 +0100 Subject: [PATCH] Remove duplicate code in .travis.yml The "$TRAVIS_PHP_VERSION != '7.0'" condition was duplicated See #5580. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 01f7f35e9..7d54f4386 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ env: before_script: - if [[ $TRAVIS_PHP_VERSION = '7.0' && $DB = 'sqlite' ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else PHPUNIT_FLAGS=""; fi - - if [[ $TRAVIS_PHP_VERSION != '7.0' && $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi + - if [[ $TRAVIS_PHP_VERSION != '7.0' && $TRAVIS_PHP_VERSION != 'hhvm' ]]; then phpenv config-rm xdebug.ini; fi - composer self-update - composer install --prefer-source @@ -77,4 +77,4 @@ sudo: false cache: directories: - - $HOME/.composer/cache \ No newline at end of file + - $HOME/.composer/cache