]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - .travis.yml
Run CI against PHP 8.0
[github/shaarli/Shaarli.git] / .travis.yml
index af04a022fc2de2665b4bc752ed1f9faac1207151..35649e2a76f0aa7ed93e055a5ddc32253bf9e021 100644 (file)
@@ -3,6 +3,8 @@ dist: bionic
 matrix:
   include:
     # jobs for each supported php version
+    - language: php
+      php: nightly # PHP 8.0
     - language: php
       php: 7.4
     - language: php
@@ -43,6 +45,7 @@ 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