From be00ff1cb968703e4a002dd65169448a44a5634a Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Fri, 10 Mar 2023 16:52:34 -0800 Subject: [PATCH] Reset CircleCI config with additional php version --- .circleci/.config.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .circleci/.config.yml diff --git a/.circleci/.config.yml b/.circleci/.config.yml new file mode 100644 index 0000000..3f6f35b --- /dev/null +++ b/.circleci/.config.yml @@ -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 \ No newline at end of file