Skip to content

Commit

Permalink
Added php8 support + test (#40)
Browse files Browse the repository at this point in the history
- Dropped php7.3 support
  • Loading branch information
mmoreram authored Jan 22, 2021
1 parent afe03c4 commit 056ca49
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
27 changes: 21 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2
jobs:
test-php73:
test-php74-no-stopwatch-lowest:
docker:
- image: circleci/php:7.3-cli
- image: circleci/php:7.4-cli

working_directory: ~/project
steps:
Expand All @@ -23,7 +23,6 @@ jobs:
rm -Rf var/*
php vendor/bin/phpunit --testsuite=no-stopwatch
test-php74:
docker:
- image: circleci/php:7.4-cli
Expand All @@ -35,13 +34,29 @@ jobs:
- run:
name: Run tests / Highest
command: |
composer update -n --prefer-dist --no-suggest
composer update -n --prefer-dist
rm -Rf var/*
php vendor/bin/phpunit --testsuite=base
test-php80:
docker:
- image: circleci/php:8.0-cli

working_directory: ~/project
steps:
- checkout

- run:
name: Run tests / Highest
command: |
composer update -n --prefer-dist --ignore-platform-req=php
rm -Rf var/*
php vendor/bin/phpunit --testsuite=base
workflows:
version: 2
test:
jobs:
- test-php73
- test-php74
- test-php74-no-stopwatch-lowest
- test-php74
- test-php80
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.4 || ^8.0",

"symfony/http-kernel": "^5.0",
"symfony/dependency-injection": "^5.0",
Expand Down

0 comments on commit 056ca49

Please sign in to comment.