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 Mar 2, 2017
1 parent 4c0b27f commit 4c00d7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
],
"require": {
"php": ">=5.4"
"php": ">=5.6"
},
"conflict": {
"microsoft/windowsazure": "<0.4.3"
Expand Down

0 comments on commit 4c00d7f

Please sign in to comment.