Skip to content

Commit 71a0415

Browse files
committed
replace travis with github actions
1 parent 04a5692 commit 71a0415

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

.github/workflows/qa.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: QA
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
push:
9+
branches:
10+
- master
11+
- v*
12+
13+
jobs:
14+
tests:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
20+
21+
name: PHP ${{ matrix.php }}
22+
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: shivammathur/setup-php@v2
26+
with:
27+
php-version: ${{ matrix.php }}
28+
extensions: json
29+
coverage: none
30+
31+
- run: composer install --no-interaction --no-progress
32+
- run: vendor/bin/tester -C tests/cases

.travis.yml

-14
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Nextras Secured Links
22
=====================
33

4-
[![Build Status](https://travis-ci.org/nextras/secured-links.svg?branch=master)](https://travis-ci.org/nextras/secured-links)
4+
[![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)
55
[![Downloads this Month](https://img.shields.io/packagist/dm/nextras/secured-links.svg?style=flat)](https://packagist.org/packages/nextras/secured-links)
66
[![Stable Version](https://img.shields.io/packagist/v/nextras/secured-links.svg?style=flat)](https://packagist.org/packages/nextras/secured-links)
77

0 commit comments

Comments
 (0)