Skip to content

Commit c02c0eb

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 e6614dd commit c02c0eb

File tree

3 files changed

+32
-25
lines changed

3 files changed

+32
-25
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
with:
29+
composer-options: "--prefer-source"
30+
31+
- run: vendor/bin/phpunit --exlude-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
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
1010
# Message Queue. Simple client
1111

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

0 commit comments

Comments
 (0)