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

Commit 8d511a3

Browse files
committed
Merge branch 'hotfix/23' into develop
Forward port #24
2 parents ed0f98a + ff7bcd9 commit 8d511a3

File tree

6 files changed

+2742
-44
lines changed

6 files changed

+2742
-44
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ nbproject
99
tmp/
1010

1111
clover.xml
12-
composer.lock
1312
coveralls-upload.json
1413
phpunit.xml
1514
vendor

.travis.yml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,49 @@ cache:
1313

1414
env:
1515
global:
16-
- SERVICE_MANAGER_VERSION="^3.0.3"
16+
- COMPOSER_ARGS="--no-interaction --ignore-platform-reqs"
1717

1818
matrix:
1919
fast_finish: true
2020
include:
21+
- php: 5.5
22+
env:
23+
- DEPS=lowest
2124
- php: 5.5
2225
env:
2326
- EXECUTE_CS_CHECK=true
27+
- DEPS=locked
2428
- php: 5.5
2529
env:
26-
- SERVICE_MANAGER_VERSION="^2.7.5"
30+
- DEPS=latest
31+
- php: 5.6
32+
env:
33+
- DEPS=lowest
2734
- php: 5.6
2835
env:
2936
- EXECUTE_TEST_COVERALLS=true
37+
- DEPS=locked
3038
- php: 5.6
3139
env:
32-
- SERVICE_MANAGER_VERSION="^2.7.5"
40+
- DEPS=lastest
41+
- php: 7
42+
env:
43+
- DEPS=lowest
3344
- php: 7
45+
env:
46+
- DEPS=locked
3447
- php: 7
3548
env:
36-
- SERVICE_MANAGER_VERSION="^2.7.5"
49+
- DEPS=latest
3750
- php: hhvm
51+
env:
52+
- DEPS=lowest
53+
- php: hhvm
54+
env:
55+
- DEPS=locked
3856
- php: hhvm
3957
env:
40-
- SERVICE_MANAGER_VERSION="^2.7.5"
58+
- DEPS=latest
4159
allow_failures:
4260
- php: hhvm
4361

@@ -49,10 +67,12 @@ before_install:
4967
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
5068
- composer self-update
5169
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
52-
- composer require --dev --no-update "zendframework/zend-servicemanager:$SERVICE_MANAGER_VERSION"
5370

5471
install:
55-
- travis_retry composer install --no-interaction --ignore-platform-reqs
72+
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
73+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
74+
- travis_retry composer install $COMPOSER_ARGS
75+
- composer show --installed
5676

5777
script:
5878
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/phpunit --coverage-clover clover.xml ; fi

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"zendframework/zend-uri": "^2.5",
2929
"zendframework/zend-view": "^2.6.3",
3030
"fabpot/php-cs-fixer": "1.7.*",
31-
"phpunit/PHPUnit": "~4.0"
31+
"phpunit/phpunit": "^4.5"
3232
},
3333
"suggest": {
3434
"zendframework/zend-config": "Zend\\Config component",

0 commit comments

Comments
 (0)