Commit 0d366ee3 authored by Bas de Nooijer's avatar Bas de Nooijer

Merge pull request #388 from onigoetz/patch-2

Allow symfony/class-loader 3.0 to be installed
parents a91c50ba 39a398cc
...@@ -13,6 +13,7 @@ env: ...@@ -13,6 +13,7 @@ env:
- SYMFONY_VERSION=2.3.* - SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.7.* - SYMFONY_VERSION=2.7.*
- SYMFONY_VERSION=2.8.* - SYMFONY_VERSION=2.8.*
- SYMFONY_VERSION=3.0.* # Does not work with php below 5.5
before_script: before_script:
- bash -c "if [ $TRAVIS_PHP_VERSION != 'hhvm' ] && [ $TRAVIS_PHP_VERSION != '7.0' ] && [ $TRAVIS_PHP_VERSION != 'nightly' ]; then printf '\n\n\n\n' | pecl install pecl_http-1.7.6; fi" - bash -c "if [ $TRAVIS_PHP_VERSION != 'hhvm' ] && [ $TRAVIS_PHP_VERSION != '7.0' ] && [ $TRAVIS_PHP_VERSION != 'nightly' ]; then printf '\n\n\n\n' | pecl install pecl_http-1.7.6; fi"
...@@ -23,6 +24,11 @@ script: vendor/bin/phpunit -c phpunit.xml.travis -v ...@@ -23,6 +24,11 @@ script: vendor/bin/phpunit -c phpunit.xml.travis -v
after_script: vendor/bin/coveralls -v after_script: vendor/bin/coveralls -v
matrix: matrix:
exclude:
- php: 5.3
env: SYMFONY_VERSION=3.0.*
- php: 5.4
env: SYMFONY_VERSION=3.0.*
allow_failures: allow_failures:
- php: 5.3 - php: 5.3
- php: nightly - php: nightly
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
], ],
"require": { "require": {
"php": ">=5.3.2", "php": ">=5.3.2",
"symfony/event-dispatcher": "~2.3" "symfony/event-dispatcher": "~2.3|~3.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~3.7", "phpunit/phpunit": "~3.7",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment