Skip to content

Commit

Permalink
Merge pull request #15 from reedy/githubactions
Browse files Browse the repository at this point in the history
Update CI to GitHub Actions
  • Loading branch information
ashnazg authored Dec 7, 2024
2 parents 457e5ef + 027713c commit 493ef07
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
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']

steps:
- uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
ini-values: include_path=.:/usr/share/php:pear/usr/share/php
- name: Run tests
run: |
pear run-tests -d tests/
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit 493ef07

Please sign in to comment.