Skip to content

Commit c8545d9

Browse files
committed
Simplified the Travis configuration
The Mongo extension is already available so we can enable it without using pecl. There is no need to support testing several versions of the driver. This also uses the global composer setup available on Travis and adds PHP 5.6 testting
1 parent 29fe331 commit c8545d9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@ php:
44
- 5.3
55
- 5.4
66
- 5.5
7-
8-
env:
9-
- MONGO_VERSION=1.3.7
7+
- 5.6
108

119
before_script:
12-
- pecl -q install -f mongo-${MONGO_VERSION} && echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
13-
- curl -s http://getcomposer.org/installer | php
14-
- php composer.phar install --dev --prefer-dist --no-interaction
10+
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
11+
- composer install --dev --prefer-dist --no-interaction
1512

1613
phpunit: phpunit --coverage-text

0 commit comments

Comments
 (0)