From e19c4ca65eb0491b6983dd5e77368091a1616255 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sat, 19 Jan 2019 14:43:38 +0000 Subject: [PATCH 1/4] Speed up the travis build --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d2e63c2..efb516b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,4 +32,5 @@ after_success: cache: directories: - vendor - - $HOME/.cache/composer \ No newline at end of file + - $HOME/.cache/composer + - /var/lib/docker \ No newline at end of file From 516566622c1d792f3bbbe13f99e5e474caeb36cb Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sat, 19 Jan 2019 18:00:04 +0000 Subject: [PATCH 2/4] Use different dist --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index efb516b..aceb7f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: php +dist: xenial + php: - '7.2' - '7.3' @@ -32,5 +34,4 @@ after_success: cache: directories: - vendor - - $HOME/.cache/composer - - /var/lib/docker \ No newline at end of file + - $HOME/.cache/composer \ No newline at end of file From 1d3b0c4753eb39abadbbd352fe1a85df44bedd8e Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sat, 19 Jan 2019 18:13:10 +0000 Subject: [PATCH 3/4] Reorder the script execution --- .travis.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index aceb7f9..07efa09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ language: php -dist: xenial - php: - '7.2' - '7.3' @@ -11,19 +9,18 @@ services: - docker before_install: - - docker-compose up -d + - docker-compose -f docker-compose.yml up -d - docker-compose -f docker-compose.yml run wait -before_script: - - mkdir -p build/logs - - ls -al - install: - travis_retry composer install --no-interaction - wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.1.0/php-coveralls.phar - chmod +x php-coveralls.phar - php php-coveralls.phar --version +before_script: + - mkdir -p build/logs + script: - ./vendor/bin/grumphp run From 18a6f73d5f1dedbed8d36c231a279e6e7005e57d Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sat, 19 Jan 2019 18:23:12 +0000 Subject: [PATCH 4/4] Add some badges to readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 00cd15d..a978c65 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ [![Build Status](https://travis-ci.org/SykesCottages/Qu.svg?branch=master)](https://travis-ci.org/SykesCottages/Qu) [![Coverage Status](https://coveralls.io/repos/github/SykesCottages/Qu/badge.svg?branch=master)](https://coveralls.io/github/SykesCottages/Qu?branch=master) +[![Latest Stable Version](https://poser.pugx.org/sykescottages/qu/v/stable)](https://packagist.org/packages/sykescottages/qu) +[![Total Downloads](https://poser.pugx.org/sykescottages/qu/downloads)](https://packagist.org/packages/sykescottages/qu) +[![Latest Unstable Version](https://poser.pugx.org/sykescottages/qu/v/unstable)](https://packagist.org/packages/sykescottages/qu) This package has been designed to switch out queue providers using a Queue & Consumer interface. You can use this package with RabbitMQ & SQS to seamlessly switch between the two.