Skip to content

Commit f894dfc

Browse files
committed
Fix package CI
- Add push to master trigger; - Replace the clunky cache + composer install steps with an Action; - Replace Travis with GH WF in packages; - Add the missing CI to amqp-tools; - Replace the shields.
1 parent a83039c commit f894dfc

File tree

3 files changed

+30
-25
lines changed

3 files changed

+30
-25
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
tests:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
php: ['7.3', '7.4']
14+
15+
name: PHP ${{ matrix.php }} tests
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- uses: shivammathur/setup-php@v2
21+
with:
22+
php-version: ${{ matrix.php }}
23+
coverage: none
24+
25+
- run: php Tests/fix_composer_json.php
26+
27+
- uses: "ramsey/composer-install@v1"
28+
29+
- run: vendor/bin/phpunit --exclude-group=functional

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
88
# AMQP Transport
99

1010
[![Gitter](https://badges.gitter.im/php-enqueue/Lobby.svg)](https://gitter.im/php-enqueue/Lobby)
11-
[![Build Status](https://travis-ci.org/php-enqueue/amqp-ext.png?branch=master)](https://travis-ci.org/php-enqueue/amqp-ext)
11+
[![Build Status](https://img.shields.io/github/workflow/status/php-enqueue/amqp-ext/CI)](https://github.com/php-enqueue/amqp-ext/actions?query=workflow%3ACI)
1212
[![Total Downloads](https://poser.pugx.org/enqueue/amqp-ext/d/total.png)](https://packagist.org/packages/enqueue/amqp-ext)
1313
[![Latest Stable Version](https://poser.pugx.org/enqueue/amqp-ext/version.png)](https://packagist.org/packages/enqueue/amqp-ext)
1414

0 commit comments

Comments
 (0)