Skip to content

Commit

Permalink
Add PR triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny authored Nov 2, 2018
1 parent 16b9b3a commit 35df133
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions azure-pipelines.rx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ trigger:
- .editorconfig
- azure-pipelines.rx.yml

pr:
branches:
include:
- master
- rel/*
paths:
include:
- Rx.NET/Source/*
- .editorconfig
- azure-pipelines.rx.yml

pool:
vmImage: vs2017-win2016

Expand All @@ -23,11 +34,9 @@ steps:
custom: tool
arguments: install --tool-path . nbgv
displayName: Install NBGV tool
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- script: nbgv cloud -a -p Rx.NET\Source
displayName: Set Version
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: MSBuild@1
displayName: Build System.Reactive.sln
Expand All @@ -43,7 +52,6 @@ steps:
inputs:
command: custom
arguments: pack Rx.NET/Source/facades/System.Reactive.Compatibility.nuspec -Version $(NBGV_NuGetPackageVersion) -MinClientVersion 2.12 -NoPackageAnalysis -outputdirectory $(Build.ArtifactStagingDirectory)\artifacts
condition: eq(variables['system.pullrequest.isfork'], false)

- task: MSBuild@1
displayName: Build for Test (ppdb) workaround
Expand Down Expand Up @@ -86,4 +94,4 @@ steps:
PathtoPublish: $(Build.ArtifactStagingDirectory)\artifacts
ArtifactName: artifacts
publishLocation: Container
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

0 comments on commit 35df133

Please sign in to comment.