diff --git a/azure-pipelines.pr.yml b/azure-pipelines.pr.yml new file mode 100755 index 0000000..200670f --- /dev/null +++ b/azure-pipelines.pr.yml @@ -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 \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ebf204a..53802ef 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,8 +2,6 @@ trigger: branches: include: - master -pr: -- master jobs: - job: Linux