Add PHP8.0 and JSON & cURL extension checking

This commit is contained in:
peter279k 2020-12-25 03:07:16 +08:00
parent b15f862193
commit 78dcae6d17
2 changed files with 5 additions and 3 deletions

View file

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
php-version: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4'] php-version: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2

View file

@ -17,10 +17,12 @@
"homepage": "https://holidayapi.com" "homepage": "https://holidayapi.com"
}], }],
"require": { "require": {
"php": ">=5.3" "php": ">=5.3",
"ext-json": "*",
"ext-curl": "*"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.8.36" "phpunit/phpunit": "^4.8.36 || ^9.0"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {