From 973f298a751f2c55ad9acd157318e7ea28820645 Mon Sep 17 00:00:00 2001 From: Eric Gallager Date: Fri, 10 Nov 2023 14:56:31 -0500 Subject: [PATCH] Update appveyor.yml get me lein already! --- appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 7b18f5dcd..fbe17f382 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -45,9 +45,11 @@ install: - cmd: call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM% - cmd: bash -cvx "if test -x \"$(which appveyor-retry 2>/dev/null)\" && test -x \"$(which pacman)\" && test -n \"$(ls m*.db*)\"; then (appveyor-retry pacman -Syuu --needed --noconfirm --noprogressbar --ask=127) && (appveyor-retry pacman -S --noconfirm clojure leiningen); fi - cmd: bash -cvx "if test -x \"$(which choco)\"; then choco update; (choco install leiningen || choco install --pre leiningen); elif test -x \"$(which scoop)\"; then (scoop bucket add main && scoop install main/leiningen); fi + - cmd: bash -cvx "if (test ! -e \"$(which lein)\" || test ! -x \"$(which lein)\") && test -x \"$(which scoop)\"; then (scoop bucket add main && scoop install main/leiningen); fi test_script: - - cmd: bash -cvx "lein test || lein test-all || mvn test || mvn test-compile || mvn generate-test-sources || mvn process-test-sources || mvn generate-test-resources || mvn process-test-resources || mvn process-test-classes || mvn pre-integration-test || mvn integration-test || mvn post-integration-test || mvn verify || lein check || lein check-all || lein compile || lein javac || lein retest" + - cmd: bash -cvx "echo \"${PATH}\"" + - cmd: bash -cvx "lein test || lein test-all || mvn test || mvn test-compile || mvn generate-test-sources || mvn process-test-sources || mvn generate-test-resources || mvn process-test-resources || mvn process-test-classes || mvn pre-integration-test || mvn integration-test || mvn post-integration-test || mvn verify || lein check || lein check-all || lein compile || lein javac || lein retest || (if test -x \"$(which locate)\"; then locate lein; fi)" - cmd: powershell -noninteractive -noprofile -command .\script\test.ps1 > test-out.txt - cmd: type test-out.txt # Since tests are currently only run in 2 JavaScript environments, look for exactly 2 counts of "0 failures, 0 errors."