This repository was archived by the owner on Oct 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : php
22sudo : false
3- dist : precise
3+ dist : trusty
44
5- php :
6- - 5.3
7- - 5.4
8- - 5.5
9- - 5.6
10- - 7.0
11- - 7.1
12- - nightly
13- - hhvm
5+ cache :
6+ directories :
7+ - $HOME/.composer/cache
148
159services :
1610 - riak
@@ -22,7 +16,7 @@ before_script:
2216 - ./Tests/travis/install-deps.sh
2317 - composer self-update
2418 - if [ "$DEPS" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
25- - composer update --prefer-source
19+ - composer update --prefer-dist
2620
2721script :
2822 - ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
@@ -32,9 +26,19 @@ after_script:
3226 - php ./vendor/bin/coveralls -v
3327
3428matrix :
29+ exclude :
30+ - php : 5.3
31+ dist : trusty
3532 allow_failures :
3633 - php : nightly
37- - php : hhvm
3834 include :
35+ - php : 5.3
36+ dist : precise
37+ - php : 5.4
38+ - php : 5.5
3939 - php : 5.6
4040 env : DEPS="dev"
41+ - php : 7.0
42+ - php : 7.1
43+ - php : 7.2
44+ - php : nightly
Original file line number Diff line number Diff line change @@ -6,5 +6,12 @@ if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then
66 exit 0;
77fi
88
9+ VERSION_NAME=$( phpenv version-name)
10+
11+ if [ $VERSION_NAME = " 5.3" ] || [ $VERSION_NAME = " 5.4" ] || [ $VERSION_NAME = " 5.5" ] || [ $VERSION_NAME = " 5.6" ]; then
12+ echo " extension = mongo.so" >> ~ /.phpenv/versions/$( phpenv version-name) /etc/php.ini
13+ echo " extension = memcache.so" >> ~ /.phpenv/versions/$( phpenv version-name) /etc/php.ini
14+ fi
15+
916pecl install riak
1017phpenv config-add $BASEDIR /php.ini
Original file line number Diff line number Diff line change 1- extension =" mongo.so"
2- extension =" memcache.so"
31extension =" memcached.so"
42
53apc.enabled =1
Original file line number Diff line number Diff line change 3838 "doctrine/cache" : " ^1.4.2"
3939 },
4040 "require-dev" : {
41- "phpunit/phpunit" : " ~4" ,
41+ "phpunit/phpunit" : " ~4|~5 " ,
4242 "symfony/phpunit-bridge" : " ~2.7|~3.3|~4.0" ,
4343 "symfony/yaml" : " ~2.7|~3.3|~4.0" ,
4444 "symfony/validator" : " ~2.7|~3.3|~4.0" ,
You can’t perform that action at this time.
0 commit comments