Skip to content

Commit

Permalink
Switch from Travis-CI to GitHub Actions (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise authored Mar 19, 2021
1 parent 2913fa7 commit 6a883c7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: CI

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

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']

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

This file was deleted.

0 comments on commit 6a883c7

Please sign in to comment.