1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Merge pull request #5634 from alexislefebvre/travis-ci-remove-duplicate-condition

Remove duplicate code in .travis.yml
This commit is contained in:
Marco Pivetta 2016-01-26 23:00:55 +01:00
commit 788143dc03

View File

@ -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
- $HOME/.composer/cache