Skip to content

Commit

Permalink
Stop testing with '--prefer-lowest'
Browse files Browse the repository at this point in the history
This solve issues with PHPUnit and Xdebug 3.0 for PHP 7.3 and 7.4.
mockery has basically no dependencies so the part of the matrix testing
with '--prefer-lowest' brings little/no value.
  • Loading branch information
LeSuisse committed Dec 8, 2020
1 parent 60fa2f6 commit d87f7ef
Showing 1 changed file with 2 additions and 41 deletions.
43 changes: 2 additions & 41 deletions .travis.yml
Expand Up @@ -3,49 +3,12 @@ language: php
matrix:
include:
- php: 5.6
env:
- DEPS=lowest
- php: 5.6
env:
- DEPS=latest
- php: 7.0
env:
- DEPS=lowest
- php: 7.0
env:
- DEPS=latest
- php: 7.1
env:
- DEPS=lowest
- php: 7.1
env:
- DEPS=latest
- php: 7.2
env:
- DEPS=lowest
- php: 7.2
env:
- DEPS=latest
- php: 7.3
env:
- DEPS=lowest
- php: 7.3
env:
- DEPS=latest
- php: 7.4
env:
- DEPS=lowest
- php: 7.4
env:
- DEPS=latest
- php: nightly
env:
- DEPS=lowest
- COMPOSER_FLAGS="--ignore-platform-reqs"
- php: nightly
env:
- DEPS=latest
- COMPOSER_FLAGS="--ignore-platform-reqs"
- php: 8.0

before_install:
# Install extensions for PHP 5.x series. 7.x includes them by default.
Expand All @@ -62,8 +25,7 @@ before_install:
fi
install:
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update --no-interaction $COMPOSER_FLAGS ; fi
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable --no-interaction $COMPOSER_FLAGS ; fi
- travis_retry composer update --no-interaction

script:
- |
Expand Down Expand Up @@ -99,4 +61,3 @@ deploy:
on:
branch: master
php: '7.1'
condition: $DEPS = latest

0 comments on commit d87f7ef

Please sign in to comment.