File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,10 @@ matrix:
17
17
- php : 5.5
18
18
env :
19
19
- EXECUTE_CS_CHECK=true
20
- - php : 5.5
21
- env :
22
- - SERVICE_MANAGER_VERSION="^2.7.5"
20
+ - SERVICE_MANAGER_V2=true
23
21
- php : 5.6
24
22
env :
25
23
- EXECUTE_TEST_COVERALLS=true
26
- - php : 5.6
27
- env :
28
- - SERVICE_MANAGER_VERSION="^2.7.5"
29
24
- php : 7
30
25
- php : hhvm
31
26
allow_failures :
@@ -41,14 +36,13 @@ before_install:
41
36
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
42
37
43
38
install :
44
- - travis_retry composer install --no-interaction --ignore-platform-reqs
39
+ - if [[ $SERVICE_MANAGER_V2 != 'true' ]]; then travis_retry composer install --no-interaction --ignore-platform-reqs ; fi
40
+ - if [[ $SERVICE_MANAGER_V2 == 'true' ]]; then travis_retry composer update --no-interaction --ignore-platform-reqs --prefer-lowest ; fi
45
41
46
42
script :
47
43
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/phpunit --coverage-clover clover.xml ; fi
48
44
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then ./vendor/bin/phpunit ; fi
49
45
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run ; fi
50
- - if [[ $SERVICE_MANAGER_VERSION != '' ]]; then composer require --no-update "zendframework/zend-servicemanager:$SERVICE_MANAGER_VERSION" ; fi
51
- - if [[ $SERVICE_MANAGER_VERSION == '' ]]; then composer require --no-update "zendframework/zend-servicemanager:^3.0.3" ; fi
52
46
53
47
after_script :
54
48
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/coveralls ; fi
You can’t perform that action at this time.
0 commit comments