Skip to content

Commit

Permalink
Merge pull request doctrine#161 from alcaeus/php-7-tests
Browse files Browse the repository at this point in the history
Add PHP 7 to the build matrix
  • Loading branch information
Gianluca Arbezzano committed Mar 28, 2016
2 parents 53fc629 + 3d5a433 commit d17194c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .travis.yml
Expand Up @@ -4,10 +4,19 @@ php:
- 5.5
- 5.6

env:
- MONGO_DRIVER=mongo

matrix:
include:
- php: 7.0
env: ADAPTER_VERSION="^1.0.0" MONGO_DRIVER=mongodb

services: mongodb

before_script:
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- yes '' | pecl -q install -f $MONGO_DRIVER
- if [ "x${ADAPTER_VERSION}" != "x" ]; then composer require "alcaeus/mongo-php-adapter=${ADAPTER_VERSION}" --ignore-platform-reqs; fi
- composer install --prefer-source

script:
Expand Down

0 comments on commit d17194c

Please sign in to comment.