This repository was archived by the owner on Jan 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +153
-91
lines changed Expand file tree Collapse file tree 3 files changed +153
-91
lines changed Original file line number Diff line number Diff line change 12
12
global :
13
13
- COMPOSER_ARGS="--no-interaction"
14
14
- COVERAGE_DEPS="satooshi/php-coveralls"
15
+ - LEGACY_DEPS="phpunit/phpunit"
15
16
16
17
matrix :
17
18
include :
@@ -61,10 +62,11 @@ before_install:
61
62
- travis_retry composer self-update
62
63
63
64
install :
64
- - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
65
+ - travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
66
+ - if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
65
67
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
66
68
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
67
- - travis_retry composer install $COMPOSER_ARGS
69
+ - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
68
70
- composer show
69
71
70
72
script :
Original file line number Diff line number Diff line change 9
9
" middleware" ,
10
10
" psr" ,
11
11
" psr-7" ,
12
- " zf2 "
12
+ " zf "
13
13
],
14
14
"extra" : {
15
15
"branch-alias" : {
19
19
},
20
20
"require" : {
21
21
"php" : " ^5.6 || ^7.0" ,
22
- "container-interop/container-interop" : " ^1.1 " ,
23
- "psr/http-message" : " ^1.0" ,
24
- "zendframework/zend-expressive-helpers" : " ^1.1 || ^2.2 || ^3.0" ,
25
- "zendframework/zend-expressive-router" : " ^1.3.2 || ^2.0 " ,
22
+ "container-interop/container-interop" : " ^1.2 " ,
23
+ "psr/http-message" : " ^1.0.1 " ,
24
+ "zendframework/zend-expressive-helpers" : " ^1.4 || ^2.2 || ^3.0.1 " ,
25
+ "zendframework/zend-expressive-router" : " ^1.3.2 || ^2.1 " ,
26
26
"zendframework/zend-expressive-template" : " ^1.0.4" ,
27
- "zendframework/zend-servicemanager" : " ^2.7.5 || ^3.0 .3" ,
27
+ "zendframework/zend-servicemanager" : " ^2.7.8 || ^3.3" ,
28
28
"zendframework/zend-view" : " ^2.8.1"
29
29
},
30
30
"require-dev" : {
31
- "phpunit/phpunit " : " ^5.7 || ^6.0 " ,
32
- "zendframework/zend-coding-standard " : " ~1 .0.0 " ,
33
- "malukenho/docheader " : " ^0.1.5 "
31
+ "malukenho/docheader " : " ^0.1.5 " ,
32
+ "phpunit/phpunit " : " ^6 .0.8 || ^5.7.15 " ,
33
+ "zendframework/zend-coding-standard " : " ~1.0.0 "
34
34
},
35
35
"autoload" : {
36
36
"psr-4" : {
You can’t perform that action at this time.
0 commit comments