Skip to content

Commit b23d60e

Browse files
Merge pull request #88 from internalsystemerror/feature/gha
Switch to GHA CI workflow
2 parents 6667cdf + 04b206f commit b23d60e

32 files changed

+5204
-423
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/.coveralls.yml export-ignore
22
/.gitattributes export-ignore
3+
/.github/ export-ignore
34
/.gitignore export-ignore
4-
/.travis.yml export-ignore
55
/docs/ export-ignore
66
/phpcs.xml export-ignore
77
/phpunit.xml.dist export-ignore
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Continuous Integration"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- '[0-9]+.[0-9]+.x'
8+
- 'refs/pull/*'
9+
tags:
10+
11+
jobs:
12+
matrix:
13+
name: Generate job matrix
14+
runs-on: ubuntu-latest
15+
outputs:
16+
matrix: ${{ steps.matrix.outputs.matrix }}
17+
steps:
18+
- name: Gather CI configuration
19+
id: matrix
20+
uses: laminas/laminas-ci-matrix-action@v1
21+
22+
qa:
23+
name: QA Checks
24+
needs: [matrix]
25+
runs-on: ${{ matrix.operatingSystem }}
26+
strategy:
27+
fail-fast: false
28+
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
29+
steps:
30+
- name: ${{ matrix.name }}
31+
uses: laminas/laminas-continuous-integration-action@v1
32+
with:
33+
job: ${{ matrix.job }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
/.phpcs-cache
12
/clover.xml
2-
/composer.lock
33
/coveralls-upload.json
44
/phpunit.xml
55
/vendor/

.travis.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 0 additions & 98 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Laminas API Tools
22

3-
[![Build Status](https://travis-ci.com/laminas-api-tools/api-tools.svg?branch=master)](https://travis-ci.com/laminas-api-tools/api-tools)
4-
[![Coverage Status](https://coveralls.io/repos/github/laminas-api-tools/api-tools/badge.svg?branch=master)](https://coveralls.io/github/laminas-api-tools/api-tools?branch=master)
3+
[![Build Status](https://github.com/laminas-api-tools/api-tools/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laminas-api-tools/api-tools/actions/workflows/continuous-integration.yml)
54

65
## Introduction
76

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
},
2828
"require": {
29-
"php": "^5.6 || ^7.0",
29+
"php": "^7.3",
3030
"laminas-api-tools/api-tools-api-problem": "^1.2.1",
3131
"laminas-api-tools/api-tools-content-negotiation": "^1.2.2",
3232
"laminas-api-tools/api-tools-content-validation": "^1.3.3",
@@ -47,9 +47,9 @@
4747
"laminas/laminas-zendframework-bridge": "^1.0"
4848
},
4949
"require-dev": {
50-
"laminas/laminas-coding-standard": "~1.0.0",
50+
"laminas/laminas-coding-standard": "~2.3.0",
5151
"laminas/laminas-http": "^2.5.4",
52-
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.5"
52+
"phpunit/phpunit": "^7.1.5"
5353
},
5454
"suggest": {
5555
"alcaeus/mongo-php-adapter": "^1.0.5, if you are using ext/mongodb and wish to use the MongoConnectedListener.",

0 commit comments

Comments
 (0)