allow sf3
This commit is contained in:
parent
0b2750033a
commit
ad36fa50d0
27
.travis.yml
27
.travis.yml
|
@ -1,12 +1,33 @@
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.3
|
- 5.3
|
||||||
- 5.4
|
- 5.4
|
||||||
|
- 5.5
|
||||||
|
- 5.6
|
||||||
|
- 7.0
|
||||||
|
|
||||||
before_script:
|
cache:
|
||||||
- curl -s http://getcomposer.org/installer | php -- --quiet
|
directories:
|
||||||
- php composer.phar install --dev
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- php: 5.6
|
||||||
|
env: SYMFONY_VERSION='~2.3'
|
||||||
|
- php: 5.6
|
||||||
|
env: SYMFONY_VERSION='~2.8'
|
||||||
|
- php: 5.6
|
||||||
|
env: SYMFONY_VERSION='~3.0'
|
||||||
|
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- composer self-update
|
||||||
|
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
|
||||||
|
|
||||||
|
install: composer install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- php bin/phpunit --coverage-text
|
- php bin/phpunit --coverage-text
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"symfony/framework-bundle": "2.*",
|
"symfony/framework-bundle": "~2.0|~3.0",
|
||||||
"knplabs/gaufrette": "~0.1.7|0.2.*@dev"
|
"knplabs/gaufrette": "~0.1.7|~0.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/yaml": "2.*",
|
"symfony/yaml": "~2.0|~3.0",
|
||||||
"symfony/console": "2.*",
|
"symfony/console": "~2.0|~3.0",
|
||||||
"phpunit/phpunit": "~4.2"
|
"phpunit/phpunit": "~4.2"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user