Skip to content

Commit

Permalink
Merge pull request #61 from BedrockStreaming/feat/codeowner-and-ci
Browse files Browse the repository at this point in the history
Feat/codeowner and ci
  • Loading branch information
lnahiro authored Mar 9, 2022
2 parents e5727e1 + 1c3ba13 commit a9e4a6e
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 78 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @BedrockStreaming/messagequeuing
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Continuous Integration
on: [push, pull_request]

jobs:
tests:
name: Tests
runs-on: ubuntu-20.04
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1' ]
symfony-version: ['^3.4', '^4.4', '^5.0']
fail-fast: false
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug2
extensions: amqp
- name: Install symfony version from matrix
env:
SYMFONY_VERSION: ${{ matrix.symfony-version }}
run: composer require symfony/symfony:$SYMFONY_VERSION --no-update
- name: Install dependencies
run: composer update --prefer-dist --no-interaction
- name: Unit tests
run: bin/atoum
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AmQPBundle

[![Build Status](https://travis-ci.org/M6Web/AmqpBundle.svg?branch=master)](https://travis-ci.org/M6Web/AmqpBundle)
[![Build Status](https://github.com/BedrockStreaming/AmqpBundle/actions/workflows/ci.yml/badge.svg)](https://github.com/BedrockStreaming/AmqpBundle/actions/workflows/ci.yml) [![Total Downloads](https://poser.pugx.org/m6web/amqp-bundle/downloads.svg)](https://packagist.org/packages/m6web/amqp-bundle) [![License](http://poser.pugx.org/m6web/amqp-bundle/license)](https://packagist.org/packages/m6web/amqp-bundle) [![PHP Version Require](http://poser.pugx.org/m6web/amqp-bundle/require/php)](https://packagist.org/packages/m6web/amqp-bundle)

The configuration and documentation are inspired from [videlalvaro/RabbitMqBundle](https://github.com/videlalvaro/RabbitMqBundle).

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
"psr-4": { "M6Web\\Bundle\\": "src/" }
},
"require" : {
"php": "~7",
"php": ">=7.4",
"ext-amqp": "*",
"symfony/dependency-injection": "^3.4 || ^4.3 || ^5.0",
"symfony/framework-bundle": "^3.4 || ^4.3",
"symfony/http-kernel": "^3.4 || ^4.3",
"symfony/framework-bundle": "^3.4 || ^4.3 || ^5.0",
"symfony/http-kernel": "^3.4 || ^4.3 || ^5.0",
"symfony/yaml": "^3.4 || ^4.3 || ^5.0",
"twig/twig": "^1.31 || ^2.0 || ^3.0"
},
"require-dev" : {
"atoum/atoum": "^3.4.1",
"atoum/atoum": "~4.0",
"m6web/coke": "^2.2",
"m6web/symfony2-coding-standard": "^3.3"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\Yaml\Parser;
use atoum\test;
use atoum;

/**
* Class M6WebAmqpExtension.
*/
class M6WebAmqpExtension extends test
class M6WebAmqpExtension extends atoum
{
/**
* @return ContainerBuilder
Expand Down
16 changes: 0 additions & 16 deletions travis/install_amqp.sh

This file was deleted.

20 changes: 0 additions & 20 deletions travis/install_rabbitmq-c.sh

This file was deleted.

0 comments on commit a9e4a6e

Please sign in to comment.