Skip to content

Commit

Permalink
Use composer's --prefer-lowest on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Apr 8, 2019
1 parent f258bca commit bec5ac2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ php:
- 7.3
- 7.4snapshot

env:
- BRICK_MATH_VERSION=~0.7.3
- BRICK_MATH_VERSION=~0.8.0

matrix:
include:
- php: 7.1.0
env: dependencies=lowest
allow_failures:
- php: 7.4snapshot

before_script:
- composer require brick/math:${BRICK_MATH_VERSION}
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable; else composer update; fi;

script:
- mkdir -p build/logs
Expand Down

0 comments on commit bec5ac2

Please sign in to comment.