Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (25 sloc) 1.024 kb
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
services: mongodb
before_install:
- sh -c "if [[ $TRAVIS_PHP_VERSION != 'hhvm' && `php-config --vernum` -ge 50500 ]]; then yes ''| pecl install apcu-beta; else echo 'extension="apc.so"' >> ./tests/travis/php.ini; fi"
- sh -c "if [ $TRAVIS_PHP_VERSION != 'hhvm' ]; then phpenv config-add ./tests/travis/php.ini; fi"
# Allow dev versions for HHVM as the Doctrine HHVM support is not yet released
- 'if [[ "$TRAVIS_PHP_VERSION" = "hhvm" ]]; then composer require --dev --no-update doctrine/orm "~2.5@dev" doctrine/dbal "~2.5@dev"; fi'
# Remove the ODM requirement on HHVM as it does not support mongo
- 'if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then grep -v "doctrine/mongodb-odm" composer.json > composer.json.new && mv composer.json.new composer.json; fi'
install:
- composer install
script: phpunit -c tests/
notifications:
email:
- gediminas.morkevicius@gmail.com
- developers@atlantic18.com
Jump to Line
Something went wrong with that request. Please try again.