From c4f223c38ac51c86f0d208e1211cbfca585cec22 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 12 Apr 2019 10:40:24 +0200 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0c1a6f471..c14e7acba 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,7 +12,8 @@ pr: jobs: -- job: "Tox" +- job: 'Tox' + condition: startsWith(variables['Build.SourceBranch'], '/refs/heads') pool: vmImage: 'ubuntu-16.04' @@ -30,7 +31,8 @@ jobs: displayName: 'Run Tox' -- job: "JQ" +- job: 'JQ' + condition: startsWith(variables['Build.SourceBranch'], '/refs/heads') pool: vmImage: 'ubuntu-16.04'