aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-29 11:43:18 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-29 18:57:17 +0200
commit2b7a7bc928fb7fc171138e248d3aa1d86d5b62f9 (patch)
tree4870d46d6bf062d54890a64c2414220554f52133
parent6cdca9562c7685e9a0eb77b51584d0cc458c44e0 (diff)
downloadShaarli-2b7a7bc928fb7fc171138e248d3aa1d86d5b62f9.tar.gz
Shaarli-2b7a7bc928fb7fc171138e248d3aa1d86d5b62f9.tar.zst
Shaarli-2b7a7bc928fb7fc171138e248d3aa1d86d5b62f9.zip
Run CI against PHP 8.0
-rw-r--r--.travis.yml3
-rw-r--r--composer.json2
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index af04a022..35649e2a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,8 @@ matrix:
4 include: 4 include:
5 # jobs for each supported php version 5 # jobs for each supported php version
6 - language: php 6 - language: php
7 php: nightly # PHP 8.0
8 - language: php
7 php: 7.4 9 php: 7.4
8 - language: php 10 - language: php
9 php: 7.3 11 php: 7.3
@@ -43,6 +45,7 @@ cache:
43 45
44install: 46install:
45 # install/update composer and php dependencies 47 # install/update composer and php dependencies
48 - if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then export TRAVIS_PHP_VERSION="8.0.0"; fi
46 - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION 49 - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION
47 - composer update 50 - composer update
48 51
diff --git a/composer.json b/composer.json
index de7b1732..35043fd2 100644
--- a/composer.json
+++ b/composer.json
@@ -28,7 +28,7 @@
28 "require-dev": { 28 "require-dev": {
29 "roave/security-advisories": "dev-master", 29 "roave/security-advisories": "dev-master",
30 "phpunit/phpcov": "*", 30 "phpunit/phpcov": "*",
31 "phpunit/phpunit": "^7.5 || ^8.0", 31 "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0",
32 "squizlabs/php_codesniffer": "3.*" 32 "squizlabs/php_codesniffer": "3.*"
33 }, 33 },
34 "suggest": { 34 "suggest": {