123456789101112131415161718192021222324252627282930 |
- language: php
- sudo: false
- cache:
- directories:
- - $HOME/.composer/cache
- php:
- - 5.4
- - 5.5
- - 5.6
- - 7.0
- - hhvm
- matrix:
- include:
- - php: 5.3
- dist: precise
- allow_failures:
- - php: 7.0
- - php: hhvm
- before_script:
- # The mongo extension is not yet available on PHP 7
- - if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo 'extension=mongo.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
- - if [[ "$TRAVIS_PHP_VERSION" = "7.0" ]] || [[ "$TRAVIS_PHP_VERSION" = "hhvm" ]]; then composer remove --dev --no-update doctrine/mongodb-odm; fi
- - composer install --prefer-dist
- script: phpunit
|