Skip to content

Commit

Permalink
[Azure Pipelines] Use container shorthand and inline container
Browse files Browse the repository at this point in the history
  • Loading branch information
norio-nomura committed Jan 18, 2019
1 parent e347582 commit d22dd39
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
resources:
containers:
- container: '4.2.0'
image: norionomura/swift:42
- container: '4.2.1'
image: norionomura/swift:421

trigger:
- master

@@ -16,10 +9,10 @@ jobs:
maxParallel: 10
matrix:
swift420:
containerResource: '4.2.0'
containerImage: norionomura/swift:42
swift421:
containerResource: '4.2.1'
container: $[ variables['containerResource'] ]
containerImage: norionomura/swift:421
container: $[ variables['containerImage'] ]
steps:
- script: swift test --parallel
displayName: swift test

0 comments on commit d22dd39

Please sign in to comment.