Skip to content

Commit 6a9bb5b

Browse files
authored
Move to GitHub actions (#213)
* Move from travis to github actions * Remove 7.1 and 7.2 from github actions ci * Add php 8.1 to CI
1 parent eee4e76 commit 6a9bb5b

File tree

2 files changed

+29
-18
lines changed

2 files changed

+29
-18
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
PHPUnit:
9+
name: PHPUnit (PHP ${{ matrix.php }} on ${{ matrix.os }})
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os:
14+
- ubuntu-20.04
15+
- windows-2019
16+
php:
17+
- 8.1
18+
- 8.0
19+
- 7.4
20+
- 7.3
21+
- 7.2
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: shivammathur/setup-php@v2
25+
with:
26+
php-version: ${{ matrix.php }}
27+
coverage: xdebug
28+
- run: composer install
29+
- run: vendor/bin/phpunit --coverage-text

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)