Skip to content

Commit

Permalink
Replace Travis with Github Actions. Closes #23
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnharvey committed Nov 11, 2020
1 parent d2eab60 commit 63cf62d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 22 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test

on:
push:

pull_request:

jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4']

name: PHP ${{ matrix.php-versions }} test

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl
ini-values: post_max_size=256M, short_open_tag=On
coverage: xdebug
tools: composer

- name: Composer install
run: composer install

- name: Run tests
run: vendor/bin/phpunit
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit 63cf62d

Please sign in to comment.