Skip to content

Commit 0bd6ae5

Browse files
authored
Merge pull request #123 from andrewnicols/gha
Migrate from Travis to GHA
2 parents b0fb318 + 8153948 commit 0bd6ae5

File tree

2 files changed

+34
-20
lines changed

2 files changed

+34
-20
lines changed

.github/workflows/ci.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI Tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
PHPUnit:
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
matrix:
9+
os:
10+
- ubuntu-latest
11+
php:
12+
- 5.4
13+
- 5.5
14+
- 5.6
15+
- 7.0
16+
- 7.1
17+
- 7.2
18+
- 7.3
19+
- 7.4
20+
- 8.0
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
25+
- name: Setup PHP
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: ${{ matrix.php }}
29+
30+
- name: Install dependencies
31+
run: composer install
32+
33+
- name: Run PHPUnit
34+
run: vendor/bin/phpunit

.travis.yml

-20
This file was deleted.

0 commit comments

Comments
 (0)