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:
michaelachrisco 2019-07-12 16:48:57 -07:00 committed by GitHub
parent 662155de7a
commit 1d8d4a981c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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