Permalink
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (43 sloc) 1.5 KB
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
env:
- TRANSPORT=jackrabbit PACKAGE_VERSION=high
- TRANSPORT=doctrine_dbal PACKAGE_VERSION=high
matrix:
include:
- php: 5.3
env: TRANSPORT=doctrine_dbal COMPOSER_FLAGS="--prefer-lowest"
dist: precise
# composer fails to find a solution even though i think there should exist one
# - php: 5.3
# env: TRANSPORT=jackrabbit COMPOSER_FLAGS="--prefer-lowest"
- php: 7.0
env: TRANSPORT=doctrine_dbal SYMFONY_VERSION="2.7"
- php: 7.0
env: TRANSPORT=jackrabbit SYMFONY_VERSION="2.7"
- php: 7.0
env: TRANSPORT=doctrine_dbal SYMFONY_VERSION="2.8" PHPBENCH="yes"
- php: 7.0
env: TRANSPORT=jackrabbit SYMFONY_VERSION="2.8" PHPBENCH="yes"
- php: hhvm
dist: trusty
before_script:
- composer self-update || true
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony=$SYMFONY_VERSION; fi;
- if [ "$PHPBENCH" = "yes" ]; then composer require --no-update phpbench/phpbench=~0.11; fi;
- ./tests/travis_${TRANSPORT}.sh
script:
- vendor/bin/phpunit -c tests/phpunit_${TRANSPORT}.xml.dist
- if [ "$PHPBENCH" = "yes" ]; then php vendor/bin/phpbench run --report=all; fi;
notifications:
irc: "irc.freenode.org#symfony-cmf"
email: "symfony-cmf-devs@googlegroups.com"