diff --git a/.travis.yml b/.travis.yml index 02b5c06..f94e926 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ cache: php: - 7.2 - 7.3 + - 7.4 + - 'nightly' env: global: @@ -29,7 +31,12 @@ before_install: - iphpenv config-rm xdebug.ini || true install: - - travis_retry composer update --prefer-dist --no-interaction + - | + if [[ $TRAVIS_PHP_VERSION == 'nightly' ]]; then + travis_retry composer update --prefer-dist --no-interaction --ignore-platform-reqs + else + travis_retry composer update --prefer-dist --no-interaction + fi script: - $TEST_COMMAND --testsuite $SUITE diff --git a/composer.json b/composer.json index d3ce166..e80f2f0 100644 --- a/composer.json +++ b/composer.json @@ -14,8 +14,8 @@ } ], "require": { - "php": "^7.2", - "phpunit/phpunit": "^8.0", + "php": "^7.2 || ^8.0", + "phpunit/phpunit": "^8.0 || ^9.3", "psr/http-message": "^1.0" }, "require-dev": {