Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Adding a separate build pipeline for PR's
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Jul 3, 2019
1 parent c5246ea commit 041215f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 2 deletions.
49 changes: 49 additions & 0 deletions azure-pipelines.pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
trigger:
branches:
exclude:
- master
pr:
- master

jobs:
- job: Linux
pool:
name: Hosted Ubuntu 1604
demands: npm
strategy:
matrix:
node_10_x:
node_version: 10.x
node_12_x:
node_version: 12.x
steps:
- template: .azure-pipelines/build.yml
- template: .azure-pipelines/lint.yml
- template: .azure-pipelines/test.yml
- template: .azure-pipelines/package.yml

- job: Windows
pool:
name: Hosted VS2017
demands: npm
strategy:
matrix:
node_10_x:
node_version: 10.x
steps:
- template: .azure-pipelines/build.yml
- template: .azure-pipelines/lint.yml
- template: .azure-pipelines/test.yml

- job: macOS
pool:
name: Hosted macOS
demands: npm
strategy:
matrix:
node_10_x:
node_version: 10.x
steps:
- template: .azure-pipelines/build.yml
- template: .azure-pipelines/lint.yml
- template: .azure-pipelines/test.yml
2 changes: 0 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ trigger:
branches:
include:
- master
pr:
- master

jobs:
- job: Linux
Expand Down

0 comments on commit 041215f

Please # to comment.