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

Commit b641b7d

Browse files
committed
Merge branch 'hotfix/qa-tools'
Close #201 and #202
2 parents c85ab88 + 06db4f3 commit b641b7d

File tree

2 files changed

+46
-31
lines changed

2 files changed

+46
-31
lines changed

.travis.yml

Lines changed: 43 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,73 @@ sudo: false
22

33
language: php
44

5-
branches:
6-
except:
7-
- /^release-.*$/
8-
- /^ghgfk-.*$/
9-
105
cache:
116
directories:
127
- $HOME/.composer/cache
13-
- $HOME/.local
14-
- zf-mkdoc-theme
15-
168
env:
179
global:
18-
- SITE_URL: https://zendframework.github.io/zend-servicemanager
19-
- GH_USER_NAME: "Matthew Weier O'Phinney"
20-
- GH_USER_EMAIL: [email protected]
21-
- GH_REF: github.com/zendframework/zend-servicemanager.git
22-
- secure: "KoLcNj22t668IhAhm5ej6DNf23waoGrZpQ1kmuq5ptTqsXjFjy/cjOJCvWOeRX62Tl2kjc7co9UeK0f91osZ2Wq7HLb+1bIXX5SrB6SfyPUajCQtCtu0xGgEKZfuQwzLWSYoR3tsaD6vqgMjKwwst10d+AyICjdLNu9dHtdu9HpozZtK3kM9+0FwMOiRqFEND2GY05oVYXOrzgu1xNmE1YEGpjKzqqBNpqFOP4W+OnTMRTQcyrlbFzOFvAip7X3GGw9iUSnSzZTnIOWJgMdah8/eFqhrPO8O73faW+/v3ZTxdwupOEZyg7s3TD6+W9rjmN+TgOZEP484PcSlUc6sXA4QM4iL8xthG3bWk8+CDrsnuQmunrXz7T5xUEHs/7B8NuGJ8yT89fMCYGySERKIfCx17+N9kP/848A/+39LE1NIlTxnaPISfm9WMNG67xsEKyJluC/YataPGl0zZ6/7Q7w1oDYvjhsqooUsxKRD2/psd1zrVDJurDa7Ayv/E21u2dIDtbp6w9Zl+he+kwRItMNhtCdzyShqtuY0V/JRmn2lZY2PsfbICRXXAbQnDveNFYz5tE2K40Qm4RWrdZ4cnaLiNJeukdYKVJCFHtZr9rdx1uVeK78Pf5o3rt4S8S1aat35eMZQunc6s4gmeXU5+wIxwXiyOtkdlL3LztSox9s="
10+
- COMPOSER_ARGS="--no-interaction"
11+
- COVERAGE_DEPS="satooshi/php-coveralls"
2312

2413
matrix:
2514
include:
2615
- php: 5.6
2716
env:
17+
- DEPS=lowest
18+
- php: 5.6
19+
env:
20+
- DEPS=locked
21+
- LEGACY_DEPS="phpunit/phpunit"
22+
- php: 5.6
23+
env:
24+
- DEPS=latest
25+
- php: 7
26+
- DEPS=lowest
27+
- php: 7
28+
- DEPS=locked
2829
- TEST_COVERAGE=true
29-
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
30-
- PATH="$HOME/.local/bin:$PATH"
3130
- php: 7
32-
env:
31+
- DEPS=latest
32+
- php: 7.1
33+
- DEPS=lowest
34+
- php: 7.1
35+
- DEPS=locked
3336
- CS_CHECK=true
3437
- php: 7.1
35-
- php: hhvm
38+
- DEPS=latest
39+
- php: 7.2
40+
- DEPS=lowest
41+
- php: 7.2
42+
- DEPS=locked
43+
- php: 7.2
44+
- DEPS=latest
45+
- php: hhvm
46+
- DEPS=lowest
47+
- php: hhvm
48+
- DEPS=locked
49+
- php: hhvm
50+
- DEPS=latest
3651
allow_failures:
3752
- php: hhvm
3853

39-
notifications:
40-
irc: "irc.freenode.org#zftalk.dev"
41-
email: false
42-
4354
before_install:
4455
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
45-
- composer self-update
46-
- if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls:^1.0 ; fi
4756

4857
install:
49-
- travis_retry composer install --no-interaction
58+
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
59+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update --with-dependencies $COMPOSER_ARGS $LEGACY_DEPS ; fi
60+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
61+
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
62+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
63+
- stty cols 120 && composer show
5064

5165
script:
52-
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; fi
53-
- if [[ $TEST_COVERAGE != 'true' ]]; then composer test ; fi
66+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
5467
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
55-
- if [[ $DEPLOY_DOCS == "true" && "$TRAVIS_TEST_RESULT" == "0" ]]; then wget -O theme-installer.sh "https://raw.githubusercontent.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh" ; chmod 755 theme-installer.sh ; ./theme-installer.sh ; fi
56-
57-
after_success:
58-
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi
5968

6069
after_script:
6170
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
71+
72+
notifications:
73+
email: false
74+

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ All notable changes to this project will be documented in this file, in reverse
66

77
### Added
88

9-
- Nothing.
9+
- [#201](https://github.com/zendframework/zend-servicemanager/pull/201) and
10+
[#202](https://github.com/zendframework/zend-servicemanager/pull/202) add
11+
support for PHP versions 7.1 and 7.2.
1012

1113
### Deprecated
1214

0 commit comments

Comments
 (0)