We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d4e86ce + 2927833 commit 1cdac18Copy full SHA for 1cdac18
3 files changed
.github/workflows/main.yml
@@ -0,0 +1,29 @@
1
+name: CI
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ tests:
7
+ runs-on: ubuntu-latest
8
9
+ strategy:
10
+ matrix:
11
+ php: [7.3, 7.4, 8.0]
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v2
16
17
+ - name: Setup PHP
18
+ uses: shivammathur/setup-php@v2
19
+ with:
20
+ php-version: ${{ matrix.php }}
21
22
+ - name: Validate composer.json
23
+ run: composer validate
24
25
+ - name: Install dependencies
26
+ run: composer install --prefer-dist --no-progress --no-interaction --no-suggest
27
28
+ - name: Run test suite
29
+ run: php vendor/bin/phpunit
.travis.yml
composer.json
@@ -13,7 +13,7 @@
}
],
"require": {
- "php": "^7.3",
+ "php": "^7.3 || ^8.0",
"ext-dom": "*",
"phpunit/phpunit": "^9.3"
},
0 commit comments