-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #357 from WyriHaximus-labs/php-7.4
Avoid unneeded warning when decoding invalid data on PHP 7.4
- Loading branch information
Showing
4 changed files
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,31 @@ | ||
language: php | ||
|
||
php: | ||
# - 5.3 # requires old distro, see below | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- hhvm # ignore errors, see below | ||
|
||
# lock distro so new future defaults will not break the build | ||
dist: trusty | ||
|
||
# also test lowest dependencies on PHP 7 | ||
matrix: | ||
include: | ||
- php: 5.3 | ||
dist: precise | ||
- php: 5.4 | ||
- php: 5.5 | ||
- php: 5.6 | ||
- php: 7.0 | ||
- php: 7.0 | ||
env: | ||
- DEPENDENCIES=lowest | ||
- php: 7.1 | ||
- php: 7.2 | ||
- php: 7.3 | ||
- php: 7.4 | ||
- php: hhvm | ||
allow_failures: | ||
- php: hhvm | ||
|
||
sudo: false | ||
|
||
install: | ||
- composer install --no-interaction | ||
- if [ "$DEPENDENCIES" = "lowest" ]; then composer update --prefer-lowest -n; fi | ||
|
||
script: | ||
- ./vendor/bin/phpunit --coverage-text | ||
- if [ "$DEPENDENCIES" = "lowest" ]; then php -n tests/benchmark-middleware-runner.php; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters