Fixing multiline batch command weirdness.
authorJared Mulconry <jaredmulconry@gmail.com>
Sun, 8 Oct 2017 06:50:11 +0000 (17:50 +1100)
committerJared Mulconry <jaredmulconry@gmail.com>
Sun, 8 Oct 2017 06:50:11 +0000 (17:50 +1100)
appveyor.yml

index e3485dd..3e958b3 100644 (file)
@@ -51,8 +51,7 @@ after_build:
 
 test_script:
   - cmd: bin\%CONFIGURATION%\unit.exe --gtest_output=xml:testout.xml || (
-Powershell.exe -executionpolicy remotesigned -Command "(new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\testout.xml))" && exit 1
-)
+Powershell.exe -executionpolicy remotesigned -Command "(new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\testout.xml))" && exit 1)
   - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\testout.xml))
 
 artifacts: