Skip to content

Commit

Permalink
Drop support for unmaintained php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Albin Kerouanton committed Dec 15, 2016
1 parent 4c0b27f commit 7c789a9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,21 @@ cache:
- $HOME/.composer/cache/files

php:
- 5.4
- 5.5
- 5.6
- hhvm

matrix:
allow_failures:
- php: hhvm
fast_finish: true

before_script:
- if [[ ${TRAVIS_PHP_VERSION:0:1} == "5" ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini && phpenv config-rm xdebug.ini; fi
# waiting https://github.com/mongodb/mongo-php-library/pull/57
#- if [[ ${TRAVIS_PHP_VERSION:0:1} == "7" ]]; then echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
# - if [[ ${TRAVIS_PHP_VERSION:0:1} == "7" ]]; then echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
- if [[ ${TRAVIS_PHP_VERSION:0:4} == "hhvm" ]]; then composer require mongofill/mongofill --ignore-platform-reqs; fi
- cp tests/Gaufrette/Functional/adapters/DoctrineDbal.php.dist tests/Gaufrette/Functional/adapters/DoctrineDbal.php -f
- composer self-update && composer install --prefer-source --no-interaction --ignore-platform-reqs

script:
- php bin/phpspec run -fpretty --verbose
- php bin/phpspec run -fpretty --verbose --no-interaction
- php bin/phpunit

0 comments on commit 7c789a9

Please sign in to comment.