From 1d8d4a981c0accfa20778fa25b624f0e1622ad1f Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Fri, 12 Jul 2019 16:48:57 -0700 Subject: [PATCH] Multiple version of PHP for testing (#33) * Attempt multiple version of PHP for testing * Update config.yml * Use combination of workflows --- .circleci/config.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d71c02d..92879ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,16 @@ version: 2 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: - image: circleci/php:latest working_directory: ~/ReadOnlyTraitLaravel @@ -10,3 +19,9 @@ jobs: - run: sudo composer self-update - run: composer install -n --prefer-dist - run: ./vendor/bin/kahlan -reporter=verbose +workflows: + version: 2 + build: + jobs: + - build_7.3 + - build_latest