Skip to content

Commit

Permalink
Merge pull request #159 from alcaeus/php-8
Browse files Browse the repository at this point in the history
Test against PHP 8
  • Loading branch information
greg0ire committed May 25, 2020
2 parents 26bfe72 + fbf9699 commit 889b42b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ script:
- ./vendor/bin/phpunit

jobs:
allow_failures:
- php: nightly

include:
- stage: Test
env: DEPENDENCIES=low
Expand All @@ -38,6 +41,12 @@ jobs:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover clover.xml

- stage: Test
php: nightly
before_install:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.disabled} || echo "xdebug not available"
- composer config platform.php 7.4.99

- stage: Code Quality
env: CODING_STANDARDS
install: travis_retry composer install --prefer-dist
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"}
],
"require": {
"php": "^7.2"
"php": "^7.2 || ^8.0"
},
"require-dev": {
"doctrine/coding-standard": "^7.0",
Expand Down

0 comments on commit 889b42b

Please sign in to comment.