Skip to content

Commit

Permalink
Merge pull request #687 from recurly/jc/v2-github-ci
Browse files Browse the repository at this point in the history
Added ci.yml for github workflows instead of travis ci
  • Loading branch information
douglasmiller authored Apr 22, 2022
2 parents 6999970 + 2235fe4 commit e9ba50f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 31 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on: [push]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
name: PHP ${{ matrix.php }} tests
strategy:
matrix:
php: [7.2, 7.3, 7.4]
steps:
- uses: actions/checkout@v3
- name: Setup PHP
# Using tag 2.18.0
uses: shivammathur/setup-php@448bd61c6fe9db2113173467e4c22b87ddc2971a
with:
php-version: ${{ matrix.php }}
coverage: xdebug2
tools: composer:2.2
- run: ./scripts/build
- run: ./scripts/test
buildall:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Build (matrix)
needs: build
steps:
- name: Check build matrix status
if: ${{ needs.build.result != 'success' }}
run: exit 1
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

0 comments on commit e9ba50f

Please sign in to comment.