Skip to content

Commit

Permalink
Remove duplicate code in .travis.yml
Browse files Browse the repository at this point in the history
The "$TRAVIS_PHP_VERSION != '7.0'" condition was duplicated

See #5580.
  • Loading branch information
alexislefebvre committed Jan 26, 2016
1 parent a4d84e0 commit a1ca73d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -77,4 +77,4 @@ sudo: false

cache:
directories:
- $HOME/.composer/cache
- $HOME/.composer/cache

0 comments on commit a1ca73d

Please sign in to comment.