This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree 3 files changed +1841
-6
lines changed
3 files changed +1841
-6
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,5 @@ vendor/
12
12
zf-mkdoc-theme /
13
13
14
14
clover.xml
15
- composer.lock
16
15
coveralls-upload.json
17
16
phpunit.xml
Original file line number Diff line number Diff line change 15
15
16
16
env :
17
17
global :
18
- - COMPOSER_ARGS="--no-interaction --prefer-source"
18
+ - COMPOSER_ARGS="--no-interaction"
19
+ - COVERAGE_DEPS="satooshi/php-coveralls"
19
20
- LEGACY_DEPS="phpunit/phpunit"
20
21
- SITE_URL : https://zendframework.github.io/zend-eventmanager
21
22
- GH_USER_NAME : " Matthew Weier O'Phinney"
@@ -27,26 +28,62 @@ matrix:
27
28
include :
28
29
- php : 5.6
29
30
env :
31
+ - DEPS=lowest
32
+ - php : 5.6
33
+ env :
34
+ - DEPS=locked
30
35
- TEST_COVERAGE=true
31
36
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
32
37
- PATH="$HOME/.local/bin:$PATH"
38
+ - php : 5.6
39
+ env :
40
+ - DEPS=latest
33
41
- php : 7
34
42
env :
43
+ - DEPS=lowest
44
+ - php : 7
45
+ env :
46
+ - DEPS=locked
35
47
- CS_CHECK=true
48
+ - php : 7
49
+ env :
50
+ - DEPS=latest
36
51
- php : 7.1
52
+ env :
53
+ - DEPS=lowest
54
+ - php : 7.1
55
+ env :
56
+ - DEPS=locked
57
+ - php : 7.1
58
+ env :
59
+ - DEPS=latest
60
+ - php : nightly
61
+ env :
62
+ - DEPS=lowest
63
+ - php : nightly
64
+ env :
65
+ - DEPS=locked
66
+ - php : nightly
67
+ env :
68
+ - DEPS=latest
69
+ allow_failures :
70
+ - php : nightly
37
71
38
72
notifications :
39
73
email : false
40
74
41
75
before_install :
42
- - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
43
- - composer self-update
44
- - if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
76
+ - travis_retry composer self-update
77
+ - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini ; fi
45
78
46
79
install :
47
80
- travis_retry composer install $COMPOSER_ARGS
48
81
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
49
- - composer info -i
82
+ - if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
83
+ - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
84
+ - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
85
+ - stty cols 120
86
+ - COLUMNS=120 composer show
50
87
51
88
script :
52
89
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
You can’t perform that action at this time.
0 commit comments