Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .vsts-pipelines/builds/ci-internal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
trigger:
- master
- release/*

resources:
repositories:
- repository: buildtools
type: git
name: aspnet-BuildTools
ref: refs/heads/release/2.2

phases:
- template: ../templates/build-steps.yml
15 changes: 15 additions & 0 deletions .vsts-pipelines/builds/ci-public.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
trigger:
- master
- release/*

# See https://github.com/aspnet/BuildTools
resources:
repositories:
- repository: buildtools
type: github
endpoint: DotNet-Bot GitHub Connection
name: aspnet/BuildTools
ref: refs/heads/release/2.2

phases:
- template: ../templates/build-steps.yml
17 changes: 17 additions & 0 deletions .vsts-pipelines/templates/build-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
phases:
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: Windows
beforeBuild:
- powershell: "& ./tools/update_schema.ps1"
displayName: Update ANCM schema
- powershell: Restart-Service w3svc
displayName: Restart IIS

- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: macOS

- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
parameters:
agentOs: Linux
3 changes: 1 addition & 2 deletions test/Common.Tests/Common.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netcoreapp2.2</TargetFrameworks>
<IsTestProject>false</IsTestProject>
</PropertyGroup>

<ItemGroup>
Expand All @@ -13,11 +14,9 @@
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="$(MicrosoftAspNetCoreHostingPackageVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingPackageVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Testing" Version="$(MicrosoftExtensionsLoggingTestingPackageVersion)" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkPackageVersion)" />
<PackageReference Include="System.Diagnostics.EventLog" Version="$(SystemDiagnosticsEventLogPackageVersion)" />
<PackageReference Include="System.Net.WebSockets.WebSocketProtocol" Version="$(SystemNetWebSocketsWebSocketProtocolPackageVersion)" />
<PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" />
</ItemGroup>

</Project>