]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Run CI against PHP 8.0
authorArthurHoaro <arthur@hoa.ro>
Tue, 29 Sep 2020 09:43:18 +0000 (11:43 +0200)
committerArthurHoaro <arthur@hoa.ro>
Tue, 29 Sep 2020 16:57:17 +0000 (18:57 +0200)
.travis.yml
composer.json

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
 
index de7b1732ffff9516cba3da977409bd6263494ed5..35043fd23c9b7d84c6016b54a956c239bb08ea31 100644 (file)
@@ -28,7 +28,7 @@
     "require-dev": {
         "roave/security-advisories": "dev-master",
         "phpunit/phpcov": "*",
-        "phpunit/phpunit": "^7.5 || ^8.0",
+        "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0",
         "squizlabs/php_codesniffer": "3.*"
     },
     "suggest": {