From 6353e650ce9cac6db7b22c26330ea926a9bc6a7a Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Thu, 21 Feb 2019 12:49:45 -0800 Subject: [PATCH 1/4] Create config.yml --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..95dbcb5 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,12 @@ +version: 2 + +jobs: + build: + docker: + - image: circleci/php:7.1-node-browsers + 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 From c6831f887b7eff75e6d25b0279550d1c5c1e818f Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Thu, 21 Feb 2019 12:51:41 -0800 Subject: [PATCH 2/4] Remove travis --- .travis.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2f5b959..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: php - -php: - - 7.0 - -env: - global: - - setup=basic - -matrix: - include: - - php: 7.0 - - php: 7.1 - - php: 7.2 - - php: 7.3 - -sudo: false - -install: - - if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-source; fi - - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi - - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi - -script: - - ./vendor/bin/kahlan -reporter=verbose From c89205f141fe22616d34ae9aae90327ce540c85f Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Thu, 21 Feb 2019 12:57:59 -0800 Subject: [PATCH 3/4] PHP 7-7.3 - Brute force method of Circle CI testing multiple version of PHP same go --- .circleci/config.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 95dbcb5..c08e887 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,15 @@ version: 2 jobs: + build: + docker: + - image: circleci/php:7.0-node-browsers + 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: docker: - image: circleci/php:7.1-node-browsers @@ -10,3 +19,21 @@ jobs: - run: sudo composer self-update - run: composer install -n --prefer-dist - run: ./vendor/bin/kahlan -reporter=verbose + build: + docker: + - image: circleci/php:7.2-node-browsers + 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: + docker: + - image: circleci/php:7.3-node-browsers + 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 From e818342746fd8dac63ace9ab5baad4cda9eeb78c Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Thu, 21 Feb 2019 13:01:20 -0800 Subject: [PATCH 4/4] roll back different version of PHP --- .circleci/config.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c08e887..c50b077 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,33 +1,6 @@ version: 2 jobs: - build: - docker: - - image: circleci/php:7.0-node-browsers - 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: - docker: - - image: circleci/php:7.1-node-browsers - 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: - docker: - - image: circleci/php:7.2-node-browsers - 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: docker: - image: circleci/php:7.3-node-browsers