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

Commit 0a4b00a

Browse files
committed
Merge branch 'phpunit-8'
2 parents 11fa516 + b1e32e3 commit 0a4b00a

File tree

4 files changed

+231
-211
lines changed

4 files changed

+231
-211
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.phpunit.result.cache
12
/clover.xml
23
/coveralls-upload.json
34
/phpunit.xml

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ matrix:
1717
- php: 7.1
1818
env:
1919
- DEPS=locked
20+
- LEGACY_DEPS="phpunit/phpunit"
2021
- CS_CHECK=true
2122
- TEST_COVERAGE=true
2223
- php: 7.1
@@ -45,9 +46,10 @@ before_install:
4546
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
4647

4748
install:
48-
- travis_retry composer install $COMPOSER_ARGS
49+
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
50+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
4951
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
50-
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
52+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update $COMPOSER_ARGS --prefer-lowest --prefer-stable ; fi
5153
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
5254
- stty cols 120 && composer show
5355

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"psr/container": "^1.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^7.0.2",
25+
"phpunit/phpunit": "^7.5.15 || ^8.3.4",
2626
"zendframework/zend-auradi-config": "^1.0.1",
2727
"zendframework/zend-coding-standard": "~1.0.0",
2828
"zendframework/zend-pimple-config": "^1.1",

0 commit comments

Comments
 (0)