-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from driftphp/feature/to-php8
To php8
- Loading branch information
Showing
4 changed files
with
24 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,39 @@ | ||
version: 2 | ||
jobs: | ||
test-php73: | ||
|
||
test-php74: | ||
docker: | ||
- image: circleci/php:7.3-cli | ||
- image: circleci/php:7.4-cli | ||
- image: rabbitmq | ||
|
||
working_directory: ~/project | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Install PHPUnit | ||
command: | | ||
composer require phpunit/phpunit:7.5.17 --no-update | ||
- run: | ||
name: Run tests / Symfony 4^3 | ||
command: | | ||
composer update -n --prefer-dist --prefer-lowest --no-suggest | ||
php vendor/bin/phpunit | ||
- run: | ||
name: Run tests / Symfony 5^0 | ||
name: Run tests | ||
command: | | ||
composer update -n --prefer-dist --no-suggest | ||
php vendor/bin/phpunit | ||
sh .circleci/start.sh | ||
test-php74: | ||
test-php80: | ||
docker: | ||
- image: circleci/php:7.4-cli | ||
- image: circleci/php:8.0-cli | ||
- image: rabbitmq | ||
|
||
working_directory: ~/project | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Install PHPUnit | ||
command: | | ||
composer require phpunit/phpunit:7.5.17 --no-update | ||
- run: | ||
name: Run tests / Symfony 5^0 | ||
name: Run tests | ||
command: | | ||
composer update -n --prefer-dist --no-suggest | ||
php vendor/bin/phpunit | ||
sh .circleci/start.sh | ||
workflows: | ||
version: 2 | ||
test: | ||
jobs: | ||
- test-php73 | ||
- test-php74 | ||
- test-php74 | ||
- test-php80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
while ! nc -z localhost 5672; do sleep 1; done | ||
php vendor/bin/phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters