From 7e411870f6c2b36c52ef189a2c48ebce4c61a004 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 4 Feb 2019 23:42:43 +0800 Subject: Add myget repository source. --- azure-pipelines.yml | 10 ++++++++-- nuget.config | 6 ++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 nuget.config diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1c521e4a..3c191665 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,9 +13,15 @@ variables: buildConfiguration: 'Release' steps: -- script: dotnet build --configuration $(buildConfiguration) - displayName: 'dotnet build $(buildConfiguration)' +- task: DotNetCoreCLI@2 + inputs: + command: build + feedsToUse: config + nugetConfigPath: nuget.config + - task: DotNetCoreCLI@2 inputs: command: test + projects: '**/*Tests/*.csproj' + arguments: '--configuration $(buildConfiguration) --collect "Code coverage"' diff --git a/nuget.config b/nuget.config new file mode 100644 index 00000000..6205a567 --- /dev/null +++ b/nuget.config @@ -0,0 +1,6 @@ + + + + + + -- cgit v1.2.3