Skip to content

Commit

Permalink
Merge pull request #236 from greg0ire/php-8
Browse files Browse the repository at this point in the history
Allow PHP 8
  • Loading branch information
alcaeus authored May 25, 2020
2 parents dfb844f + 4bdaf8b commit fc02063
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fc02063

Please sign in to comment.