ReadOnlyTraitLaravel/.circleci/config.yml
Michael Chrisco 1cd655670f
fix(composer): Update illuminate database to fix ci issues (#42)
* fix(composer): Update illuminate database to fix ci issues
* fix(circleci): Use 8.0version of php to handle laravel database issue
2022-08-22 09:49:47 -07:00

27 lines
749 B
YAML

version: 2.1
jobs:
build_php_version:
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_latest:
docker:
- image: circleci/php:latest
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
- build_latest