-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,48 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
env: | ||
- SYMFONY_VERSION=2.5.* | ||
- SYMFONY_VERSION=2.7.* SYMFONY_DEPRECATIONS_HELPER=weak | ||
|
||
matrix: | ||
allow_failures: | ||
- env: SYMFONY_VERSION=dev-master | ||
include: | ||
- php: 5.5 | ||
env: SYMFONY_VERSION=2.3.* | ||
- php: 5.5 | ||
env: SYMFONY_VERSION=2.4.* | ||
- php: 5.5 | ||
env: SYMFONY_VERSION=dev-master | ||
|
||
|
||
- php: 5.3 | ||
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest" | ||
- php: 5.6 | ||
env: SYMFONY_VERSION=2.3.* SYMFONY_DEPRECATIONS_HELPER=weak | ||
- php: 5.6 | ||
env: SYMFONY_VERSION=2.8.* | ||
- php: 5.6 | ||
env: SYMFONY_VERSION=3.0.* | ||
allow_failures: | ||
- env: SYMFONY_VERSION=2.8.* | ||
- env: SYMFONY_VERSION=3.0.* | ||
fast_finish: true | ||
|
||
before_script: | ||
before_install: | ||
- sh -c 'if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;' | ||
- composer self-update | ||
- echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini | ||
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source | ||
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update | ||
- composer update $COMPOSER_FLAGS --prefer-dist | ||
- vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh | ||
|
||
before_script: vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh | ||
|
||
script: phpunit --coverage-text | ||
|
||
notifications: | ||
irc: "irc.freenode.org#symfony-cmf" | ||
email: "[email protected]" | ||
email: "[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters