diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48cb4f16c..ed066369b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: CI -on: [pull_request] +on: + pull_request: + push: + branches: + - master jobs: static_analysis: name: Static analysis @@ -12,18 +16,6 @@ jobs: PATTERNS: | pkg/**/*.php - - name: Get Composer Cache Directory - id: composer-cache - run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" - - - uses: actions/cache@v2 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: | - ${{ runner.os }}-composer- - - uses: shivammathur/setup-php@v2 with: php-version: '7.4' @@ -32,7 +24,9 @@ jobs: ini-values: memory_limit=2048M - run: php ./bin/fix-symfony-version.php "4.3.*" - - run: composer install --no-progress + + - uses: "ramsey/composer-install@v1" + - run: sed -i 's/525568/16777471/' vendor/kwn/php-rdkafka-stubs/stubs/constants.php - run: docker run --workdir="/mqdev" -v "`pwd`:/mqdev" --rm enqueue/dev:latest php -d memory_limit=1024M bin/phpstan analyse -l 1 -c phpstan.neon --error-format=github -- ${{ env.GIT_DIFF_FILTERED }} @@ -49,18 +43,6 @@ jobs: PATTERNS: | pkg/**/*.php - - name: Get Composer Cache Directory - id: composer-cache - run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" - - - uses: actions/cache@v2 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: | - ${{ runner.os }}-composer- - - uses: shivammathur/setup-php@v2 with: php-version: '7.4' @@ -69,7 +51,9 @@ jobs: ini-values: memory_limit=2048M - run: php ./bin/fix-symfony-version.php "4.3.*" - - run: composer install --no-progress + + - uses: "ramsey/composer-install@v1" + - run: sed -i 's/525568/16777471/' vendor/kwn/php-rdkafka-stubs/stubs/constants.php - run: ./bin/php-cs-fixer fix --config=.php_cs.php --no-interaction --dry-run --diff -v --path-mode=intersection -- ${{ env.GIT_DIFF_FILTERED }} @@ -142,18 +126,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Get Composer Cache Directory - id: composer-cache - run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" - - - uses: actions/cache@v2 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: | - ${{ runner.os }}-composer- - - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -163,7 +135,7 @@ jobs: - run: php ./bin/fix-symfony-version.php "${{ matrix.symfony_version }}" - - run: composer install --no-progress + - uses: "ramsey/composer-install@v1" - run: sed -i 's/525568/16777471/' vendor/kwn/php-rdkafka-stubs/stubs/constants.php diff --git a/README.md b/README.md index 1d1cccb5f..fde09e871 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
-
+
@@ -30,71 +30,71 @@ Features:
* Battle-tested. Used in production.
* Supported transports
* [AMQP(s)](https://php-enqueue.github.io/transport/amqp/) based on [PHP AMQP extension](https://github.com/pdezwart/php-amqp)
-[](https://travis-ci.org/php-enqueue/amqp-ext)
+[](https://github.com/php-enqueue/amqp-ext/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/amqp-ext/stats)
[](https://packagist.org/packages/enqueue/amqp-ext)
* [AMQP](https://php-enqueue.github.io/transport/amqp_bunny/) based on [bunny](https://github.com/jakubkulhan/bunny)
-[](https://travis-ci.org/php-enqueue/amqp-bunny)
+[](https://github.com/php-enqueue/amqp-bunny/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/amqp-bunny/stats)
[](https://packagist.org/packages/enqueue/amqp-bunny)
* [AMQP(s)](https://php-enqueue.github.io/transport/amqp_lib/) based on [php-amqplib](https://github.com/php-amqplib/php-amqplib)
-[](https://travis-ci.org/php-enqueue/amqp-lib)
+[](https://github.com/php-enqueue/amqp-lib/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/amqp-lib/stats)
[](https://packagist.org/packages/enqueue/amqp-lib)
* [Beanstalk](https://php-enqueue.github.io/transport/pheanstalk/)
-[](https://travis-ci.org/php-enqueue/pheanstalk)
+[](https://github.com/php-enqueue/pheanstalk/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/pheanstalk/stats)
[](https://packagist.org/packages/enqueue/pheanstalk)
* [STOMP](https://php-enqueue.github.io/transport/stomp/)
-[](https://travis-ci.org/php-enqueue/stomp)
+[](https://github.com/php-enqueue/stomp/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/stomp/stats)
[](https://packagist.org/packages/enqueue/stomp)
* [Amazon SQS](https://php-enqueue.github.io/transport/sqs/)
-[](https://travis-ci.org/php-enqueue/sqs)
+[](https://github.com/php-enqueue/sqs/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/sqs/stats)
[](https://packagist.org/packages/enqueue/sqs)
* [Amazon SNS](https://php-enqueue.github.io/transport/sns/)
-[](https://travis-ci.org/php-enqueue/sns)
+[](https://github.com/php-enqueue/sns/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/sns/stats)
[](https://packagist.org/packages/enqueue/sns)
* [Amazon SNS\SQS](https://php-enqueue.github.io/transport/snsqs/)
-[](https://travis-ci.org/php-enqueue/snsqs)
+[](https://github.com/php-enqueue/snsqs/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/snsqs/stats)
[](https://packagist.org/packages/enqueue/snsqs)
* [Google PubSub](https://php-enqueue.github.io/transport/gps/)
-[](https://travis-ci.org/php-enqueue/gps)
+[](https://github.com/php-enqueue/gps/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/gps/stats)
[](https://packagist.org/packages/enqueue/gps)
* [Kafka](https://php-enqueue.github.io/transport/kafka/)
-[](https://travis-ci.org/php-enqueue/rdkafka)
+[](https://github.com/php-enqueue/rdkafka/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/rdkafka/stats)
[](https://packagist.org/packages/enqueue/rdkafka)
* [Redis](https://php-enqueue.github.io/transport/redis/)
-[](https://travis-ci.org/php-enqueue/redis)
+[](https://github.com/php-enqueue/redis/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/redis/stats)
[](https://packagist.org/packages/enqueue/redis)
* [Gearman](https://php-enqueue.github.io/transport/gearman/)
-[](https://travis-ci.org/php-enqueue/gearman)
+[](https://github.com/php-enqueue/gearman/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/gearman/stats)
[](https://packagist.org/packages/enqueue/gearman)
* [Doctrine DBAL](https://php-enqueue.github.io/transport/dbal/)
-[](https://travis-ci.org/php-enqueue/dbal)
+[](https://github.com/php-enqueue/dbal/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/dbal/stats)
[](https://packagist.org/packages/enqueue/dbal)
* [Filesystem](https://php-enqueue.github.io/transport/filesystem/)
-[](https://travis-ci.org/php-enqueue/fs)
+[](https://github.com/php-enqueue/fs/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/fs/stats)
[](https://packagist.org/packages/enqueue/fs)
* [Mongodb](https://php-enqueue.github.io/transport/mongodb/)
-[](https://travis-ci.org/php-enqueue/mongodb)
+[](https://github.com/php-enqueue/mongodb/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/mongodb/stats)
[](https://packagist.org/packages/enqueue/mongodb)
* [WAMP](https://php-enqueue.github.io/transport/wamp/)
-[](https://travis-ci.org/php-enqueue/wamp)
+[](https://github.com/php-enqueue/wamp/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/wamp/stats)
[](https://packagist.org/packages/enqueue/wamp)
* [Null](https://php-enqueue.github.io/transport/null/)
-[](https://travis-ci.org/php-enqueue/null)
+[](https://github.com/php-enqueue/null/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/null/stats)
[](https://packagist.org/packages/enqueue/null)
* [the others are coming](https://github.com/php-enqueue/enqueue-dev/issues/284)
diff --git a/pkg/amqp-bunny/.github/workflows/ci.yml b/pkg/amqp-bunny/.github/workflows/ci.yml
new file mode 100644
index 000000000..bd62476f1
--- /dev/null
+++ b/pkg/amqp-bunny/.github/workflows/ci.yml
@@ -0,0 +1,27 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/amqp-bunny/.travis.yml b/pkg/amqp-bunny/.travis.yml
deleted file mode 100644
index 02ba7238b..000000000
--- a/pkg/amqp-bunny/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/amqp-bunny/README.md b/pkg/amqp-bunny/README.md
index 9efcfa531..41754124f 100644
--- a/pkg/amqp-bunny/README.md
+++ b/pkg/amqp-bunny/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# AMQP Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/amqp-bunny)
+[](https://github.com/php-enqueue/amqp-bunny/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/amqp-bunny)
[](https://packagist.org/packages/enqueue/amqp-bunny)
diff --git a/pkg/amqp-ext/.github/workflows/ci.yml b/pkg/amqp-ext/.github/workflows/ci.yml
new file mode 100644
index 000000000..24af1bbc1
--- /dev/null
+++ b/pkg/amqp-ext/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - run: php Tests/fix_composer_json.php
+
+ - uses: "ramsey/composer-install@v1"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/amqp-ext/.travis.yml b/pkg/amqp-ext/.travis.yml
deleted file mode 100644
index 8210653a3..000000000
--- a/pkg/amqp-ext/.travis.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - php Tests/fix_composer_json.php
- - composer self-update
- - composer install
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/amqp-ext/README.md b/pkg/amqp-ext/README.md
index e750d3c36..f739aa94a 100644
--- a/pkg/amqp-ext/README.md
+++ b/pkg/amqp-ext/README.md
@@ -8,7 +8,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# AMQP Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/amqp-ext)
+[](https://github.com/php-enqueue/amqp-ext/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/amqp-ext)
[](https://packagist.org/packages/enqueue/amqp-ext)
diff --git a/pkg/amqp-lib/.github/workflows/ci.yml b/pkg/amqp-lib/.github/workflows/ci.yml
new file mode 100644
index 000000000..e60e63b9b
--- /dev/null
+++ b/pkg/amqp-lib/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/amqp-lib/.travis.yml b/pkg/amqp-lib/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/amqp-lib/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/amqp-lib/README.md b/pkg/amqp-lib/README.md
index 1a7be690a..64a1cd684 100644
--- a/pkg/amqp-lib/README.md
+++ b/pkg/amqp-lib/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# AMQP Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/amqp-lib)
+[](https://github.com/php-enqueue/amqp-lib/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/amqp-lib)
[](https://packagist.org/packages/enqueue/amqp-lib)
diff --git a/pkg/amqp-tools/.github/workflows/ci.yml b/pkg/amqp-tools/.github/workflows/ci.yml
new file mode 100644
index 000000000..bd62476f1
--- /dev/null
+++ b/pkg/amqp-tools/.github/workflows/ci.yml
@@ -0,0 +1,27 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/amqp-tools/README.md b/pkg/amqp-tools/README.md
index 14f007cbb..8d3f35dc0 100644
--- a/pkg/amqp-tools/README.md
+++ b/pkg/amqp-tools/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# AMQP tools
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/amqp-tools)
+[](https://github.com/php-enqueue/amqp-tools/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/amqp-tools)
[](https://packagist.org/packages/enqueue/amqp-tools)
diff --git a/pkg/async-command/.github/workflows/ci.yml b/pkg/async-command/.github/workflows/ci.yml
new file mode 100644
index 000000000..e60e63b9b
--- /dev/null
+++ b/pkg/async-command/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/async-command/.travis.yml b/pkg/async-command/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/async-command/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/async-command/README.md b/pkg/async-command/README.md
index bd895676d..cb6eef58c 100644
--- a/pkg/async-command/README.md
+++ b/pkg/async-command/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Symfony Async Command.
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/async-command)
+[](https://github.com/php-enqueue/async-command/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/async-command)
[](https://packagist.org/packages/enqueue/async-command)
diff --git a/pkg/async-event-dispatcher/.github/workflows/ci.yml b/pkg/async-event-dispatcher/.github/workflows/ci.yml
new file mode 100644
index 000000000..e60e63b9b
--- /dev/null
+++ b/pkg/async-event-dispatcher/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/async-event-dispatcher/.travis.yml b/pkg/async-event-dispatcher/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/async-event-dispatcher/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/async-event-dispatcher/README.md b/pkg/async-event-dispatcher/README.md
index 93cee308e..1ba408fa7 100644
--- a/pkg/async-event-dispatcher/README.md
+++ b/pkg/async-event-dispatcher/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Symfony Async Event Dispatcher.
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/async-event-dispathcer)
+[](https://github.com/php-enqueue/async-event-dispathcer/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/async-event-dispathcer)
[](https://packagist.org/packages/enqueue/async-event-dispathcer)
diff --git a/pkg/dbal/.github/workflows/ci.yml b/pkg/dbal/.github/workflows/ci.yml
new file mode 100644
index 000000000..e60e63b9b
--- /dev/null
+++ b/pkg/dbal/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/dbal/.travis.yml b/pkg/dbal/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/dbal/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/dbal/README.md b/pkg/dbal/README.md
index 77af52655..7f4d2d007 100644
--- a/pkg/dbal/README.md
+++ b/pkg/dbal/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Doctrine DBAL Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/dbal)
+[](https://github.com/php-enqueue/dbal/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/dbal)
[](https://packagist.org/packages/enqueue/dbal)
diff --git a/pkg/dsn/.github/workflows/ci.yml b/pkg/dsn/.github/workflows/ci.yml
new file mode 100644
index 000000000..8486752a8
--- /dev/null
+++ b/pkg/dsn/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit
diff --git a/pkg/dsn/.travis.yml b/pkg/dsn/.travis.yml
deleted file mode 100644
index 27c064a7c..000000000
--- a/pkg/dsn/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit
diff --git a/pkg/enqueue-bundle/.github/workflows/ci.yml b/pkg/enqueue-bundle/.github/workflows/ci.yml
new file mode 100644
index 000000000..99b7fc6bf
--- /dev/null
+++ b/pkg/enqueue-bundle/.github/workflows/ci.yml
@@ -0,0 +1,32 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+ extensions: mongodb
+
+ - run: php Tests/fix_composer_json.php
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/enqueue-bundle/.travis.yml b/pkg/enqueue-bundle/.travis.yml
deleted file mode 100644
index 880a93f5e..000000000
--- a/pkg/enqueue-bundle/.travis.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-
-php:
- - '7.1'
-
-services:
- - mongodb
-
-before_install:
- - echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - php Tests/fix_composer_json.php
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/enqueue-bundle/README.md b/pkg/enqueue-bundle/README.md
index 54c242600..4f103b3df 100644
--- a/pkg/enqueue-bundle/README.md
+++ b/pkg/enqueue-bundle/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Message Queue Bundle
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/enqueue-bundle)
+[](https://github.com/php-enqueue/enqueue-bundle/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/enqueue-bundle)
[](https://packagist.org/packages/enqueue/enqueue-bundle)
diff --git a/pkg/enqueue/.github/workflows/ci.yml b/pkg/enqueue/.github/workflows/ci.yml
new file mode 100644
index 000000000..390f70724
--- /dev/null
+++ b/pkg/enqueue/.github/workflows/ci.yml
@@ -0,0 +1,30 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+ extensions: mongodb
+
+ - run: php Tests/fix_composer_json.php
+
+ - uses: "ramsey/composer-install@v1"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/enqueue/.travis.yml b/pkg/enqueue/.travis.yml
deleted file mode 100644
index 2c830d0a6..000000000
--- a/pkg/enqueue/.travis.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
-
-services:
- - mongodb
-
-before_install:
- - echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - php Tests/fix_composer_json.php
- - composer self-update
- - composer install
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/enqueue/README.md b/pkg/enqueue/README.md
index 2e5aa5a00..f61715759 100644
--- a/pkg/enqueue/README.md
+++ b/pkg/enqueue/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Message Queue.
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/enqueue)
+[](https://github.com/php-enqueue/enqueue/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/enqueue)
[](https://packagist.org/packages/enqueue/enqueue)
diff --git a/pkg/fs/.github/workflows/ci.yml b/pkg/fs/.github/workflows/ci.yml
new file mode 100644
index 000000000..e9a20ead1
--- /dev/null
+++ b/pkg/fs/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/fs/.travis.yml b/pkg/fs/.travis.yml
deleted file mode 100644
index b910c0fcf..000000000
--- a/pkg/fs/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/fs/README.md b/pkg/fs/README.md
index b1e5411d5..596c60f29 100644
--- a/pkg/fs/README.md
+++ b/pkg/fs/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Enqueue Filesystem Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/fs)
+[](https://github.com/php-enqueue/fs/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/fs)
[](https://packagist.org/packages/enqueue/fs)
diff --git a/pkg/gearman/.github/workflows/ci.yml b/pkg/gearman/.github/workflows/ci.yml
new file mode 100644
index 000000000..eae3a9cfa
--- /dev/null
+++ b/pkg/gearman/.github/workflows/ci.yml
@@ -0,0 +1,30 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+ extensions: gearman
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/gearman/.travis.yml b/pkg/gearman/.travis.yml
deleted file mode 100644
index 7e96cb089..000000000
--- a/pkg/gearman/.travis.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - sudo apt-get update
- - sudo apt-get install libgearman-dev -y --no-install-recommends --no-install-suggests
- - export GEARMAN_PACKAGE=gearman-2.0.3
- - curl -L -O https://github.com/wcgallego/pecl-gearman/archive/$GEARMAN_PACKAGE.tar.gz
- - tar zxvf $GEARMAN_PACKAGE.tar.gz
- - pushd pecl-gearman-$GEARMAN_PACKAGE
- - phpize
- - ./configure
- - make
- - make install
- - echo 'extension=gearman.so' > gearman.ini
- - phpenv config-add gearman.ini
- - popd
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/gearman/README.md b/pkg/gearman/README.md
index 9c6efde8a..b1e8bbba2 100644
--- a/pkg/gearman/README.md
+++ b/pkg/gearman/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Gearman Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/gearman)
+[](https://github.com/php-enqueue/gearman/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/gearman)
[](https://packagist.org/packages/enqueue/gearman)
diff --git a/pkg/gps/.github/workflows/ci.yml b/pkg/gps/.github/workflows/ci.yml
new file mode 100644
index 000000000..f2accab5f
--- /dev/null
+++ b/pkg/gps/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/gps/.travis.yml b/pkg/gps/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/gps/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/gps/README.md b/pkg/gps/README.md
index fc80363ae..fd63f234d 100644
--- a/pkg/gps/README.md
+++ b/pkg/gps/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Google Pub/Sub Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/gps)
+[](https://github.com/php-enqueue/gps/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/gps)
[](https://packagist.org/packages/enqueue/gps)
diff --git a/pkg/job-queue/.github/workflows/ci.yml b/pkg/job-queue/.github/workflows/ci.yml
new file mode 100644
index 000000000..ef204f16b
--- /dev/null
+++ b/pkg/job-queue/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-dist"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/job-queue/.travis.yml b/pkg/job-queue/.travis.yml
deleted file mode 100644
index 623b55fe0..000000000
--- a/pkg/job-queue/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - travis_retry composer install --prefer-dist
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/job-queue/README.md b/pkg/job-queue/README.md
index e02a724aa..4a9841b28 100644
--- a/pkg/job-queue/README.md
+++ b/pkg/job-queue/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Job Queue.
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/job-queue)
+[](https://github.com/php-enqueue/job-queue/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/job-queue)
[](https://packagist.org/packages/enqueue/job-queue)
diff --git a/pkg/mongodb/.github/workflows/ci.yml b/pkg/mongodb/.github/workflows/ci.yml
new file mode 100644
index 000000000..abee78209
--- /dev/null
+++ b/pkg/mongodb/.github/workflows/ci.yml
@@ -0,0 +1,30 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+ extensions: mongodb
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/mongodb/.travis.yml b/pkg/mongodb/.travis.yml
deleted file mode 100644
index 6415d29e8..000000000
--- a/pkg/mongodb/.travis.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-sudo: false
-
-language: php
-
-php:
- - '7.1'
-
-git:
- depth: 10
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-services:
- - mongodb
-
-before_install:
- - echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
-
diff --git a/pkg/mongodb/README.md b/pkg/mongodb/README.md
index c57f15fc7..91837470b 100644
--- a/pkg/mongodb/README.md
+++ b/pkg/mongodb/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Mongodb Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/mongodb)
+[](https://github.com/php-enqueue/mongodb/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/mongodb)
[](https://packagist.org/packages/enqueue/mongodb)
diff --git a/pkg/monitoring/.github/workflows/ci.yml b/pkg/monitoring/.github/workflows/ci.yml
new file mode 100644
index 000000000..1dabd6bc3
--- /dev/null
+++ b/pkg/monitoring/.github/workflows/ci.yml
@@ -0,0 +1,27 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/monitoring/.travis.yml b/pkg/monitoring/.travis.yml
deleted file mode 100644
index 02ba7238b..000000000
--- a/pkg/monitoring/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/monitoring/README.md b/pkg/monitoring/README.md
index c14410cb9..a2fa75dfe 100644
--- a/pkg/monitoring/README.md
+++ b/pkg/monitoring/README.md
@@ -18,7 +18,7 @@ Queue Monitoring tool. Track sent, consumed messages. Consumers performances.
* Provides integration for Enqueue
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/monitoring)
+[](https://github.com/php-enqueue/monitoring/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/monitoring)
[](https://packagist.org/packages/enqueue/monitoring)
diff --git a/pkg/null/.github/workflows/ci.yml b/pkg/null/.github/workflows/ci.yml
new file mode 100644
index 000000000..f2accab5f
--- /dev/null
+++ b/pkg/null/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/null/.travis.yml b/pkg/null/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/null/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/null/README.md b/pkg/null/README.md
index 46a57b650..c66b46952 100644
--- a/pkg/null/README.md
+++ b/pkg/null/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Enqueue Null Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/null)
+[](https://github.com/php-enqueue/null/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/null)
[](https://packagist.org/packages/enqueue/null)
diff --git a/pkg/pheanstalk/.github/workflows/ci.yml b/pkg/pheanstalk/.github/workflows/ci.yml
new file mode 100644
index 000000000..f2accab5f
--- /dev/null
+++ b/pkg/pheanstalk/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/pheanstalk/.travis.yml b/pkg/pheanstalk/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/pheanstalk/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/pheanstalk/README.md b/pkg/pheanstalk/README.md
index d7beebdf8..d318fc7c2 100644
--- a/pkg/pheanstalk/README.md
+++ b/pkg/pheanstalk/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Beanstalk Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/pheanstalk)
+[](https://github.com/php-enqueue/pheanstalk/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/pheanstalk)
[](https://packagist.org/packages/enqueue/pheanstalk)
diff --git a/pkg/rdkafka/.github/workflows/ci.yml b/pkg/rdkafka/.github/workflows/ci.yml
new file mode 100644
index 000000000..24af1bbc1
--- /dev/null
+++ b/pkg/rdkafka/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - run: php Tests/fix_composer_json.php
+
+ - uses: "ramsey/composer-install@v1"
+
+ - run: vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/rdkafka/.travis.yml b/pkg/rdkafka/.travis.yml
deleted file mode 100644
index 8210653a3..000000000
--- a/pkg/rdkafka/.travis.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - php Tests/fix_composer_json.php
- - composer self-update
- - composer install
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/rdkafka/README.md b/pkg/rdkafka/README.md
index 1502f35c7..2a541eb63 100644
--- a/pkg/rdkafka/README.md
+++ b/pkg/rdkafka/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# RdKafka Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/rdkafka)
+[](https://github.com/php-enqueue/rdkafka/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/rdkafka)
[](https://packagist.org/packages/enqueue/rdkafka)
diff --git a/pkg/redis/.github/workflows/ci.yml b/pkg/redis/.github/workflows/ci.yml
new file mode 100644
index 000000000..d2311341a
--- /dev/null
+++ b/pkg/redis/.github/workflows/ci.yml
@@ -0,0 +1,30 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+ extensions: redis
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/redis/.travis.yml b/pkg/redis/.travis.yml
deleted file mode 100644
index 0b8b0d098..000000000
--- a/pkg/redis/.travis.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-before_install:
- - echo "extension = redis.so" >> $HOME/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/redis/README.md b/pkg/redis/README.md
index 0206e1e5b..f45bb79ba 100644
--- a/pkg/redis/README.md
+++ b/pkg/redis/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Redis Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/redis)
+[](https://github.com/php-enqueue/redis/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/redis)
[](https://packagist.org/packages/enqueue/redis)
diff --git a/pkg/simple-client/.github/workflows/ci.yml b/pkg/simple-client/.github/workflows/ci.yml
new file mode 100644
index 000000000..c9683ac90
--- /dev/null
+++ b/pkg/simple-client/.github/workflows/ci.yml
@@ -0,0 +1,31 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - run: php Tests/fix_composer_json.php
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/simple-client/.travis.yml b/pkg/simple-client/.travis.yml
deleted file mode 100644
index ebe714611..000000000
--- a/pkg/simple-client/.travis.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - php Tests/fix_composer_json.php
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/simple-client/README.md b/pkg/simple-client/README.md
index c9e0b4fa7..b3e5a3f0f 100644
--- a/pkg/simple-client/README.md
+++ b/pkg/simple-client/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Message Queue. Simple client
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/simple-client)
+[](https://github.com/php-enqueue/simple-client/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/simple-client)
[](https://packagist.org/packages/enqueue/simple-client)
diff --git a/pkg/sns/.github/workflows/ci.yml b/pkg/sns/.github/workflows/ci.yml
new file mode 100644
index 000000000..f2accab5f
--- /dev/null
+++ b/pkg/sns/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/sns/.travis.yml b/pkg/sns/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/sns/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/sns/README.md b/pkg/sns/README.md
index 62fa9986c..bfcfbce27 100644
--- a/pkg/sns/README.md
+++ b/pkg/sns/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Amazon SNS Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/sns)
+[](https://github.com/php-enqueue/sns/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/sns)
[](https://packagist.org/packages/enqueue/sns)
diff --git a/pkg/snsqs/.github/workflows/ci.yml b/pkg/snsqs/.github/workflows/ci.yml
new file mode 100644
index 000000000..f2accab5f
--- /dev/null
+++ b/pkg/snsqs/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/snsqs/.travis.yml b/pkg/snsqs/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/snsqs/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/snsqs/README.md b/pkg/snsqs/README.md
index ec5151f01..15d6d979e 100644
--- a/pkg/snsqs/README.md
+++ b/pkg/snsqs/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Amazon SNS-SQS Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/snsqs)
+[](https://github.com/php-enqueue/snsqs/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/snsqs)
[](https://packagist.org/packages/enqueue/snsqs)
diff --git a/pkg/sqs/.github/workflows/ci.yml b/pkg/sqs/.github/workflows/ci.yml
new file mode 100644
index 000000000..f2accab5f
--- /dev/null
+++ b/pkg/sqs/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/sqs/.travis.yml b/pkg/sqs/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/sqs/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/sqs/README.md b/pkg/sqs/README.md
index bcc1e83ac..1d173345b 100644
--- a/pkg/sqs/README.md
+++ b/pkg/sqs/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Amazon SQS Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/sqs)
+[](https://github.com/php-enqueue/sqs/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/sqs)
[](https://packagist.org/packages/enqueue/sqs)
diff --git a/pkg/stomp/.github/workflows/ci.yml b/pkg/stomp/.github/workflows/ci.yml
new file mode 100644
index 000000000..f2accab5f
--- /dev/null
+++ b/pkg/stomp/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+ with:
+ composer-options: "--prefer-source"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/stomp/.travis.yml b/pkg/stomp/.travis.yml
deleted file mode 100644
index ae8b10d3d..000000000
--- a/pkg/stomp/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install --prefer-source
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/stomp/README.md b/pkg/stomp/README.md
index 5fbe0d19d..758c7a43b 100644
--- a/pkg/stomp/README.md
+++ b/pkg/stomp/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# STOMP Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/stomp)
+[](https://github.com/php-enqueue/stomp/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/stomp)
[](https://packagist.org/packages/enqueue/stomp)
diff --git a/pkg/wamp/.github/workflows/ci.yml b/pkg/wamp/.github/workflows/ci.yml
new file mode 100644
index 000000000..1dabd6bc3
--- /dev/null
+++ b/pkg/wamp/.github/workflows/ci.yml
@@ -0,0 +1,27 @@
+name: CI
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ php: ['7.3', '7.4']
+
+ name: PHP ${{ matrix.php }} tests
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - uses: "ramsey/composer-install@v1"
+
+ - run: vendor/bin/phpunit --exlude-group=functional
diff --git a/pkg/wamp/.travis.yml b/pkg/wamp/.travis.yml
deleted file mode 100644
index 02ba7238b..000000000
--- a/pkg/wamp/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-sudo: false
-
-git:
- depth: 10
-
-language: php
-
-php:
- - '7.1'
- - '7.2'
- - '7.3'
- - '7.4'
-
-cache:
- directories:
- - $HOME/.composer/cache
-
-install:
- - composer self-update
- - composer install
-
-script:
- - vendor/bin/phpunit --exclude-group=functional
diff --git a/pkg/wamp/README.md b/pkg/wamp/README.md
index 67f5c9cef..04d0fdb5c 100644
--- a/pkg/wamp/README.md
+++ b/pkg/wamp/README.md
@@ -10,7 +10,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made
# Web Application Messaging Protocol (WAMP) Transport
[](https://gitter.im/php-enqueue/Lobby)
-[](https://travis-ci.org/php-enqueue/wamp)
+[](https://github.com/php-enqueue/wamp/actions?query=workflow%3ACI)
[](https://packagist.org/packages/enqueue/wamp)
[](https://packagist.org/packages/enqueue/wamp)