Skip to content

Commit

Permalink
Merge pull request #826 from stof/patch-1
Browse files Browse the repository at this point in the history
Add testing on PHP 7 on Travis
  • Loading branch information
ruflin committed May 11, 2015
2 parents 01faafe + d2775c0 commit c2411e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ php:
- 5.4
- 5.5
- 5.6
- 7
- hhvm

matrix:
allow_failures:
- php: 5.3
- php: 7
- php: hhvm
fast_finish: true

Expand All @@ -23,7 +25,7 @@ install:

before_script:
- mkdir -p build/logs
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
- if [ $ES_COMPOSER_NODEV == "no" ] && ! $(phpenv version-name | grep -q '5.3'); then sudo composer require "guzzlehttp/guzzle" "4.2.*" --dev --no-ansi --no-progress --no-interaction; fi

script:
Expand Down

0 comments on commit c2411e3

Please sign in to comment.