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

Commit 8a84661

Browse files
committed
Merge pull request #143 from webimpress/hotfix/travis-ci
Updated Travis CI configuration - PHP 7.2 Conflicts: .travis.yml
2 parents bd0716a + f890921 commit 8a84661

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.travis.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ sudo: false
22

33
language: php
44

5-
branches:
6-
except:
7-
- /^release-.*$/
8-
- /^ghgfk-.*$/
95
cache:
106
directories:
117
- $HOME/.composer/cache
@@ -14,7 +10,6 @@ env:
1410
global:
1511
- COMPOSER_ARGS="--no-interaction"
1612
- COVERAGE_DEPS="php-coveralls/php-coveralls"
17-
- LEGACY_DEPS="phpunit/phpunit"
1813
- TESTS_ZEND_HTTP_CLIENT_ONLINE=true
1914

2015
matrix:
@@ -25,8 +20,7 @@ matrix:
2520
- php: 5.6
2621
env:
2722
- DEPS=locked
28-
- CS_CHECK=true
29-
- TEST_COVERAGE=true
23+
- LEGACY_DEPS="phpunit/phpunit"
3024
- php: 5.6
3125
env:
3226
- DEPS=latest
@@ -36,6 +30,7 @@ matrix:
3630
- php: 7
3731
env:
3832
- DEPS=locked
33+
- LEGACY_DEPS="phpunit/phpunit"
3934
- php: 7
4035
env:
4136
- DEPS=latest
@@ -45,6 +40,8 @@ matrix:
4540
- php: 7.1
4641
env:
4742
- DEPS=locked
43+
- CS_CHECK=true
44+
- TEST_COVERAGE=true
4845
- php: 7.1
4946
env:
5047
- DEPS=latest
@@ -57,16 +54,13 @@ matrix:
5754
- php: 7.2
5855
env:
5956
- DEPS=latest
60-
allow_failures:
61-
- php: 7.2
6257

6358
before_install:
64-
- if [[ $TEST_COVERAGE != 'true' && "$(php --version | grep xdebug -ci)" -ge 1 ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
65-
- travis_retry composer self-update
59+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
6660

6761
install:
6862
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
69-
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
63+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
7064
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
7165
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
7266
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi

0 commit comments

Comments
 (0)