Merge pull request #128 from stof/simplify_build_matrix

Simplified the travis build matrix
This commit is contained in:
Christophe Coevoet
2014-03-12 09:37:40 +01:00

View File

@@ -7,26 +7,17 @@ php:
- 5.6 - 5.6
- hhvm - hhvm
env:
- SYMFONY_VERSION='2.2.*'
- SYMFONY_VERSION='2.3.*'
- SYMFONY_VERSION='2.4.*'
- SYMFONY_VERSION='2.5.*@dev'
matrix: matrix:
allow_failures: allow_failures:
- env: "SYMFONY_VERSION='2.5.*@dev'"
- php: hhvm
exclude:
- php: hhvm
env: SYMFONY_VERSION='2.2.*'
- php: hhvm - php: hhvm
include:
- php: 5.5
env: SYMFONY_VERSION='2.3.*' env: SYMFONY_VERSION='2.3.*'
- php: hhvm - php: 5.5
env: SYMFONY_VERSION='2.5.*@dev' env: SYMFONY_VERSION='2.5.*@dev'
before_script: before_script:
- composer require --no-update symfony/symfony=$SYMFONY_VERSION - sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
- composer install --prefer-source - composer install --prefer-source
- export PATH=./vendor/bin:$PATH - export PATH=./vendor/bin:$PATH