diff --git a/.travis.yml b/.travis.yml index fe0205298..f35d4b7d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ php: - 7.1 - 7.2 - 7.3 - - 7.4snapshot + - 7.4 before_install: - mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.disabled} || echo "xdebug not available" @@ -23,7 +23,17 @@ install: script: ./vendor/bin/phpunit jobs: + allow_failures: + - php: nightly + include: + - stage: Test + php: nightly + before_install: + - composer config platform.php 7.4.99 + install: + - travis_retry composer update --prefer-dist + - stage: Test env: COVERAGE before_script: diff --git a/composer.json b/composer.json index 2e1a892eb..f0b6a4a21 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} ], "require": { - "php": "^7.1.3" + "php": "^7.1.3 || ^8.0" }, "require-dev": { "phpunit/phpunit": "^7.0",