2023-03-10 16:52:34 -08:00
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_php_version_80:
|
|
|
|
docker:
|
|
|
|
- image: cimg/php:8.0.20
|
|
|
|
working_directory: ~/ReadOnlyTraitLaravel
|
|
|
|
steps: # a set of executable commands
|
|
|
|
- checkout
|
|
|
|
- run: sudo composer self-update
|
|
|
|
- run: composer install -n --prefer-dist --no-plugins
|
|
|
|
- run: ./vendor/bin/kahlan -reporter=verbose
|
|
|
|
build_php_version_81:
|
|
|
|
docker:
|
|
|
|
- image: cimg/php:8.1.14
|
|
|
|
working_directory: ~/ReadOnlyTraitLaravel
|
|
|
|
steps: # a set of executable commands
|
|
|
|
- checkout
|
|
|
|
- run: sudo composer self-update
|
|
|
|
- run: composer install -n --prefer-dist --no-plugins
|
|
|
|
- run: ./vendor/bin/kahlan -reporter=verbose
|
|
|
|
build_latest:
|
|
|
|
docker:
|
2023-10-27 13:02:02 -07:00
|
|
|
- image: cimg/php:latest
|
2023-03-10 16:52:34 -08:00
|
|
|
working_directory: ~/ReadOnlyTraitLaravel
|
|
|
|
steps: # a set of executable commands
|
|
|
|
- checkout
|
|
|
|
- run: sudo composer self-update
|
|
|
|
- run: composer install -n --prefer-dist --no-plugins
|
|
|
|
- run: ./vendor/bin/kahlan -reporter=verbose
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build:
|
|
|
|
jobs:
|
|
|
|
- build_php_version_80
|
|
|
|
- build_php_version_81
|
2023-10-27 13:02:02 -07:00
|
|
|
- build_latest
|