]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - .travis.yml
Compatibility with PHPUnit 9
[github/shaarli/Shaarli.git] / .travis.yml
index 35649e2a76f0aa7ed93e055a5ddc32253bf9e021..5f86d3388344600455138f51096202ddd08e7c8a 100644 (file)
@@ -5,6 +5,9 @@ matrix:
     # jobs for each supported php version
     - language: php
       php: nightly # PHP 8.0
+      install:
+        - composer self-update --2
+        - composer update --ignore-platform-req=php
     - language: php
       php: 7.4
     - language: php
@@ -45,7 +48,6 @@ cache:
 
 install:
   # install/update composer and php dependencies
-  - if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then export TRAVIS_PHP_VERSION="8.0.0"; fi
   - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION
   - composer update