Skip to content

Commit 493ef07

Browse files
authored
Merge pull request #15 from reedy/githubactions
Update CI to GitHub Actions
2 parents 457e5ef + 027713c commit 493ef07

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: CI
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
php-version: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Set up PHP ${{ matrix.php-version }}
22+
uses: shivammathur/setup-php@v2
23+
with:
24+
php-version: ${{ matrix.php-version }}
25+
ini-values: include_path=.:/usr/share/php:pear/usr/share/php
26+
- name: Run tests
27+
run: |
28+
pear run-tests -d tests/

.travis.yml

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

0 commit comments

Comments
 (0)