Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PHP 8 #54

Merged
merged 1 commit into from
Dec 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ before_install:
- docker pull php:7.2-cli
- docker pull php:7.3-cli
- docker pull php:7.4-cli
- docker pull php:8.0-cli

install:
- composer install
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": "~7.1",
"php": ">=7.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.3",
"psr/log": "^1.0"
Expand Down
7 changes: 7 additions & 0 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ else
done
RESULTS="$RESULTS\n"
done
# Run tests for all supported PHP 8 / PowerDNS 4 combinations.
for phpversion in {0..0}; do
for pdnsversion in {1..3}; do
run "8.$phpversion" "4.$pdnsversion"
done
RESULTS="$RESULTS\n"
done
fi

echo ""
Expand Down