Skip to content

Commit

Permalink
replace travis with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik committed Dec 20, 2020
1 parent 04a5692 commit 71a0415
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 15 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: QA

on:
pull_request:
branches:
- master

push:
branches:
- master
- v*

jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0']

name: PHP ${{ matrix.php }}

steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json
coverage: none

- run: composer install --no-interaction --no-progress
- run: vendor/bin/tester -C tests/cases
14 changes: 0 additions & 14 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
@@ -1,7 +1,7 @@
Nextras Secured Links
=====================

[![Build Status](https://travis-ci.org/nextras/secured-links.svg?branch=master)](https://travis-ci.org/nextras/secured-links)
[![Build Status](https://github.com/nextras/secured-links/workflows/QA/badge.svg?branch=master)](https://github.com/nextras/secured-links/actions?query=workflow%3AQA+branch%3Amaster)
[![Downloads this Month](https://img.shields.io/packagist/dm/nextras/secured-links.svg?style=flat)](https://packagist.org/packages/nextras/secured-links)
[![Stable Version](https://img.shields.io/packagist/v/nextras/secured-links.svg?style=flat)](https://packagist.org/packages/nextras/secured-links)

Expand Down

0 comments on commit 71a0415

Please sign in to comment.