mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-10-31 21:33:23 -07:00
Multiple version of PHP for testing (#33)
* Attempt multiple version of PHP for testing * Update config.yml * Use combination of workflows
This commit is contained in:
parent
662155de7a
commit
1d8d4a981c
1 changed files with 16 additions and 1 deletions
|
@ -1,7 +1,16 @@
|
||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build_7.3:
|
||||||
|
docker:
|
||||||
|
- image: circleci/php:7.3
|
||||||
|
working_directory: ~/ReadOnlyTraitLaravel
|
||||||
|
steps: # a set of executable commands
|
||||||
|
- checkout
|
||||||
|
- run: sudo composer self-update
|
||||||
|
- run: composer install -n --prefer-dist
|
||||||
|
- run: ./vendor/bin/kahlan -reporter=verbose
|
||||||
|
build_latest:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/php:latest
|
- image: circleci/php:latest
|
||||||
working_directory: ~/ReadOnlyTraitLaravel
|
working_directory: ~/ReadOnlyTraitLaravel
|
||||||
|
@ -10,3 +19,9 @@ jobs:
|
||||||
- run: sudo composer self-update
|
- run: sudo composer self-update
|
||||||
- run: composer install -n --prefer-dist
|
- run: composer install -n --prefer-dist
|
||||||
- run: ./vendor/bin/kahlan -reporter=verbose
|
- run: ./vendor/bin/kahlan -reporter=verbose
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
build:
|
||||||
|
jobs:
|
||||||
|
- build_7.3
|
||||||
|
- build_latest
|
||||||
|
|
Loading…
Reference in a new issue