Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Add zendframework/zend-hydrator v3 support and PHP 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbundyra committed Dec 11, 2018
1 parent 9b93cc8 commit 9feec5f
Show file tree
Hide file tree
Showing 9 changed files with 248 additions and 264 deletions.
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sudo: false

language: php

cache:
Expand All @@ -19,6 +17,7 @@ matrix:
- php: 7.1
env:
- DEPS=locked
- LEGACY_DEPS="zendframework/zend-hydrator"
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7.1
Expand All @@ -33,12 +32,22 @@ matrix:
- php: 7.2
env:
- DEPS=latest
- php: 7.3
env:
- DEPS=lowest
- php: 7.3
env:
- DEPS=locked
- php: 7.3
env:
- DEPS=latest

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

install:
- travis_retry composer install $COMPOSER_ARGS
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update --with-dependencies $COMPOSER_ARGS $LEGACY_DEPS ; fi
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"phpunit/phpunit": "^7.0.1",
"zendframework/zend-coding-standard": "~1.0.0",
"zendframework/zend-expressive-helpers": "^5.0.0alpha3",
"zendframework/zend-hydrator": "^2.3.1",
"zendframework/zend-hydrator": "^2.3.1 || ^3.0",
"zendframework/zend-paginator": "^2.7"
},
"provide": {
Expand Down
Loading

0 comments on commit 9feec5f

Please sign in to comment.