Skip to content

Commit

Permalink
Allow full concurrency on Azure Pipelines
Browse files Browse the repository at this point in the history
Running jobs are cancelled when a new commit is pushed to a PR, so the restriction only ever made sense for Travis.
Plus we have 20 instead of 5 jobs here.
  • Loading branch information
Zac-HD committed Jun 2, 2019
1 parent f6e6a45 commit 18d0c5e
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions azure-pipelines.yml
Expand Up @@ -3,29 +3,13 @@ trigger:
- master

jobs:
- job: precheck_concurrent
# This job schedules long-running tasks concurrently with the rest of the
# build pipeline ensuring that later stages don't block on them
# We'll merge it back into the `precheck` stage once Pipelines has caching.
- job: precheck
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
check-whole-repo-tests:
TASK: check-whole-repo-tests
steps:
- script: sudo apt-get install libreadline-dev libsqlite3-dev
displayName: Install apt dependencies
- script: ./build.sh check-installed
displayName: Install Python
- script: ./build.sh
displayName: Run build tasks

- job: precheck
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
lint:
TASK: lint
lint-ruby:
Expand All @@ -43,7 +27,6 @@ jobs:
displayName: Run build tasks

- job: windows
dependsOn: precheck
pool:
vmImage: 'windows-2019'
strategy:
Expand Down Expand Up @@ -76,7 +59,6 @@ jobs:
displayName: Run tests
- job: osx
dependsOn: precheck
pool:
vmImage: 'macOS-10.13'
strategy:
Expand All @@ -95,7 +77,6 @@ jobs:
displayName: Run tests

- job: linux
dependsOn: precheck
pool:
vmImage: 'Ubuntu 16.04'
strategy:
Expand Down

0 comments on commit 18d0c5e

Please sign in to comment.