summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <[email protected]>2021-03-28 10:18:50 +0200
committerAleksander Machniak <[email protected]>2021-03-28 10:18:50 +0200
commit9357c1aa9b3a16294643db585bf9877997383005 (patch)
treec104f1cde3c9689c65615769ae42a4218e02f093
parentbd71f680990df0be51b031b2df6cf5c5239059b1 (diff)
Travis: Force proper phpunit version for PHP8
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 3aa96ee..44661b1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,6 +30,7 @@ cache:
before_script:
- if [[ SCRUTINIZER != '1' ]]; then phpenv config-rm xdebug.ini || true; fi
- composer self-update
+ - if [[ ${TRAVIS_PHP_VERSION:0:1} == "8" ]]; then composer config platform.php 7.4; fi
- composer update $COMPOSER_FLAGS --prefer-dist
script: