Skip to content

Commit

Permalink
Drop php 5.5 and hhvm support, add php 7.1 and 7.2 support (#25)
Browse files Browse the repository at this point in the history
* Drop php 5.5 and hhvm support, add php 7.1 and 7.2 support
* Improve travis jobs
  • Loading branch information
snapshotpl authored Dec 20, 2017
1 parent 1bf6423 commit fabf449
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
language: php

php:
- 5.5
- 5.6
- 7
- hhvm
- 7.1
- 7.2

env:
- DEPS=lowest
- DEPS=latest

before_script:
- composer self-update
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable --no-interaction ; fi
- travis_retry composer install --no-interaction
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-stable --no-interaction --prefer-lowest ; fi
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update --prefer-stable --no-interaction ; fi

script:
- composer test
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": "^5.5 || ^7.0",
"php": "^5.6 || ^7.0",
"maximebf/debugbar": "^1.10",
"zendframework/zend-mvc": "^2.4 || ^3.0",
"zendframework/zend-log": "^2.4",
Expand All @@ -30,7 +30,7 @@
"zendframework/zend-modulemanager": "^2.4"
},
"require-dev": {
"phpunit/phpunit": "^4.0 || ^5.0",
"phpunit/phpunit": "^5.7.25 || ^6.5.5",
"zendframework/zend-test": "^2.4 || ^3.0",
"zendframework/zend-config": "^2.4",
"zendframework/zend-serializer": "^2.4",
Expand Down

0 comments on commit fabf449

Please sign in to comment.