diff --git a/.travis.yml b/.travis.yml index ea426814c..c4cd39b92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,9 +25,10 @@ matrix: env: deps="low" before_script: - - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then pecl install geoip; fi + - if [ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "7.0" ]; then pecl install geoip; fi - composer self-update - if [ "$deps" = "low" ]; then composer update --prefer-dist --prefer-lowest; fi - if [ "$deps" = "" ]; then composer install --prefer-dist --no-interaction; fi + - if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then composer require "geoip/geoip"; fi script: phpunit --coverage-text