From 68ae9435c7dfae7eb8d3d0046c45cfda50f2c41a Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Mon, 29 Oct 2018 20:16:40 +0200 Subject: Enabled running tests on AppVeyor --- appveyor.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index a380a14..e96f66c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,10 +4,6 @@ os: Visual Studio 2015 environment: matrix: - - compiler: msvc-15-seh - generator: "Visual Studio 15 2017" - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - - compiler: msvc-15-seh generator: "Visual Studio 15 2017 Win64" APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 @@ -21,6 +17,11 @@ build: project: JSImpl/solution/JSImpl.sln verbosity: minimal +test_script: + - '%APPVEYOR_BUILD_FOLDER%/JSImpl/build/bin/%CONFIGURATION%/Test.exe' + +clone_depth: 1 + skip_commits: files: - '**/*.md' -- cgit v1.3.1-26-gb76a From d6c0722769d6ca83f51327487efb9e791bab378b Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Mon, 29 Oct 2018 21:00:06 +0200 Subject: Better integration of test results in AppVeyor --- appveyor.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index e96f66c..d6ba8dd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,9 +17,16 @@ build: project: JSImpl/solution/JSImpl.sln verbosity: minimal +before_test: + - appveyor AddMessage "Running Tests" + - appveyor SetVariable -Name "GTEST_OUTPUT" -Value "xml" + test_script: - '%APPVEYOR_BUILD_FOLDER%/JSImpl/build/bin/%CONFIGURATION%/Test.exe' +after_test: + - curl -F 'file=test_detail.xml' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID" + clone_depth: 1 skip_commits: -- cgit v1.3.1-26-gb76a From f747ef432192c2742ef8fd29496c117290240369 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Mon, 29 Oct 2018 21:07:23 +0200 Subject: Fix shell expansion for the build ID --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index d6ba8dd..2f976fb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,7 +25,7 @@ test_script: - '%APPVEYOR_BUILD_FOLDER%/JSImpl/build/bin/%CONFIGURATION%/Test.exe' after_test: - - curl -F 'file=test_detail.xml' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID" + - curl -F 'file=test_detail.xml' "https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID%" clone_depth: 1 -- cgit v1.3.1-26-gb76a