From ef16edea519b51a40180e1ce5a007dec1345246a Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 18 Jan 2019 15:05:45 +0100 Subject: [PATCH] fix test script --- azure-pipelines.template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.template.yml b/azure-pipelines.template.yml index 9b2178e21..130c63657 100644 --- a/azure-pipelines.template.yml +++ b/azure-pipelines.template.yml @@ -17,11 +17,11 @@ jobs: go version go get -v -t -d v2ray.com/core/... go get -v -t -d v2ray.com/ext/... - go get -u github.com/jstemmer/go-junit-report 2>&1 | go-junit-report > report.xml + go get -u github.com/jstemmer/go-junit-report workingDirectory: '$(system.defaultWorkingDirectory)' displayName: 'Fetch sources' - script: | - go test -p 1 -timeout 30m -v v2ray.com/core/... + go test -p 1 -timeout 30m -v v2ray.com/core/... 2>&1 | go-junit-report > report.xml workingDirectory: '$(system.defaultWorkingDirectory)' displayName: 'Test' - task: PublishTestResults@2