Skip to content

Commit 68aef29

Browse files
committed
Merge pull request #475 from heiglandreas/hotfix/travis
Fixes Travis-Build
2 parents 9ebba1f + 6cab179 commit 68aef29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ matrix:
2525
env: deps="low"
2626

2727
before_script:
28-
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then pecl install geoip; fi
28+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "7.0" ]; then pecl install geoip; fi
2929
- composer self-update
3030
- if [ "$deps" = "low" ]; then composer update --prefer-dist --prefer-lowest; fi
3131
- if [ "$deps" = "" ]; then composer install --prefer-dist --no-interaction; fi
32+
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then composer require "geoip/geoip"; fi
3233

3334
script: phpunit --coverage-text

0 commit comments

Comments
 (0)