diff options
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | composer.json | 2 |
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 | ||
44 | install: | 46 | install: |
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": { |