Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to GHA CI workflow #12

Merged
merged 3 commits into from
Jun 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/.gitattributes export-ignore
/.github/ export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore
/test/ export-ignore
33 changes: 33 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Continuous Integration"

on:
pull_request:
push:
branches:
- '[0-9]+.[0-9]+.x'
- 'refs/pull/*'
tags:

jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@v1

qa:
name: QA Checks
needs: [matrix]
runs-on: ${{ matrix.operatingSystem }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }}
uses: laminas/laminas-continuous-integration-action@v1
with:
job: ${{ matrix.job }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/composer.lock
/.phpcs-cache
/vendor/
61 changes: 0 additions & 61 deletions .travis.yml

This file was deleted.

195 changes: 0 additions & 195 deletions CHANGELOG.md

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# api-tools-asset-manager

[![Build Status](https://travis-ci.com/laminas-api-tools/api-tools-asset-manager.png)](https://travis-ci.com/laminas-api-tools/api-tools-asset-manager)

[![Build Status](https://github.com/laminas-api-tools/api-tools-asset-manager/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laminas-api-tools/api-tools-asset-manager/actions/workflows/continuous-integration.yml)
``
api-tools-asset-manager is a composer plugin that will copy configured web-accessible
assets into the public document root of your Laminas application. It uses
the configuration format of [rwoverdijk/AssetManager](https://github.com/rwoverdijk/AssetManager),
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"class": "Laminas\\ApiTools\\AssetManager\\Plugin"
},
"require": {
"php": "^5.6 || ^7.0",
"php": "^7.3",
"composer-plugin-api": "^1.1 || ^2.0",
"laminas/laminas-zendframework-bridge": "^1.0"
},
"require-dev": {
"composer/composer": "^1.4.1 || ^2.0@dev",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
"squizlabs/php_codesniffer": "^2.6.2"
"laminas/laminas-coding-standard": "~2.2.0",
"mikey179/vfsstream": "^1.6.7",
"phpunit/phpunit": "^5.7.23 || ^6.4.3"
},
"autoload": {
"psr-4": {
Expand Down
Loading