Skip to content

Commit

Permalink
Merge pull request #158 from ciungulete/master
Browse files Browse the repository at this point in the history
Switch to Github Actions
  • Loading branch information
sandervanhooft authored Nov 30, 2020
2 parents cf1648d + 3fddece commit 0033588
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 62 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/CHANGELOG.md export-ignore
/CONTRIBUTING.md export-ignore
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: tests
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
tests:

runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4]
laravel: [^6.0, ^7.0, ^8.0]
exclude:
- php: 7.2
laravel: ^8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }}

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip
tools: composer:v2
coverage: none

- name: Install dependencies
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose
60 changes: 0 additions & 60 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Accepting [iDEAL](https://www.mollie.com/en/payments/ideal/), [Apple Pay](https:

**Looking for a complete recurring billing solution?** Take a look at [laravel/cashier-mollie](https://www.github.com/laravel/cashier-mollie) instead.

[![Build Status](https://travis-ci.org/mollie/laravel-mollie.png)](https://travis-ci.org/mollie/laravel-mollie)
[![Build Status](https://github.com/mollie/laravel-mollie/workflows/tests/badge.svg)](https://github.com/mollie/laravel-mollie/actions)
[![Latest Stable Version](https://poser.pugx.org/mollie/laravel-mollie/v/stable)](https://packagist.org/packages/mollie/laravel-mollie)
[![Total Downloads](https://poser.pugx.org/mollie/laravel-mollie/downloads)](https://packagist.org/packages/mollie/laravel-mollie)

Expand Down

0 comments on commit 0033588

Please sign in to comment.