This repository was archived by the owner on Jan 31, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 15
15
16
16
env :
17
17
global :
18
- - COMPOSER_ARGS="--no-interaction --ignore-platform-reqs"
18
+ - COMPOSER_ARGS="--no-interaction"
19
+ - COVERAGE_DEPS="satooshi/php-coveralls"
20
+ - LEGACY_DEPS="phpunit/phpunit"
19
21
- LATEST_DEPS="zendframework/zend-mvc-plugin-flashmessenger zendframework/zend-mvc-i18n zendframework/zend-mvc-console"
20
22
- SITE_URL=https://zendframework.github.io/zend-view
21
23
- GH_USER_NAME="Matthew Weier O'Phinney"
25
27
26
28
matrix :
27
29
include :
28
- - php : 5.5
29
- env :
30
- - DEPS=lowest
31
- - php : 5.5
32
- env :
33
- - CS_CHECK=true
34
- - DEPS=locked
35
- - php : 5.5
36
- env :
37
- - DEPS=latest
38
30
- php : 5.6
39
31
env :
40
32
- DEPS=lowest
@@ -78,10 +70,11 @@ before_install:
78
70
79
71
install :
80
72
- travis_retry composer install $COMPOSER_ARGS
73
+ - if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
81
74
- if [[ $DEPS == 'latest' ]]; then travis_retry composer require --dev --no-update $COMPOSER_ARGS $LATEST_DEPS ; fi
82
75
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
83
76
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
84
- - if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
77
+ - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
85
78
- composer show --installed
86
79
87
80
script :
You can’t perform that action at this time.
0 commit comments