mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-12-26 23:57:21 -08:00
Reset CircleCI config with additional php version
This commit is contained in:
parent
f89b1692e3
commit
be00ff1cb9
1 changed files with 37 additions and 0 deletions
37
.circleci/.config.yml
Normal file
37
.circleci/.config.yml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
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:
|
||||||
|
- 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_80
|
||||||
|
- build_php_version_81
|
||||||
|
- build_latest
|
Loading…
Reference in a new issue