From 19ea9b745cf6cb4e6181f33e52849eb59c0879bc Mon Sep 17 00:00:00 2001 From: byrond Date: Mon, 13 Apr 2020 21:46:28 -0400 Subject: [PATCH 1/2] add drupal-check installation to the skeleton --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6cbbc34..ce84f6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,6 +38,15 @@ jobs: name: Configure URL in /etc/hosts command: echo 127.0.0.1 ${CIRCLE_PROJECT_REPONAME}.local | sudo tee -a /etc/hosts + # Note: phing and drupal-check have mutually exclusive requirements. + # It'd be better to add drupal-check as a dependency of the drupal project + # rather than as part of the virtual environment, but this will have to do + # for now. Also note, drupal-check is added as part of the-vagrant so it + # is available to run within our VM. + - run: + name: Install drupal-check + command: composer global require mglaman/drupal-check + # Source cache - restore_cache: keys: From 8492628a674de81dff8a565259b4dfa8ca440223 Mon Sep 17 00:00:00 2001 From: byrond Date: Tue, 14 Apr 2020 14:49:27 -0400 Subject: [PATCH 2/2] match circleci drupal-check installation with the-vagrant --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ce84f6a..deb7f80 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,7 +45,11 @@ jobs: # is available to run within our VM. - run: name: Install drupal-check - command: composer global require mglaman/drupal-check + command: | + curl -O -L https://github.com/mglaman/drupal-check/releases/download/1.0.9/drupal-check.phar + mkdir --parents ~/bin + mv drupal-check.phar ~/bin/drupal-check + chmod +x ~/bin/drupal-check # Source cache - restore_cache: