Skip to content

Commit

Permalink
Try other options for azure pipeline (ReactiveX#609)
Browse files Browse the repository at this point in the history
* Try other options for azure pipeline

* Try to switch of ratpack tests with accordance to Travis script

* Fix Azure mapping

* Fix spec annotation

* Add OS matrix

* Enable only linux in matrix
  • Loading branch information
storozhukBM authored Sep 10, 2019
1 parent 6978092 commit b80af9e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,24 @@
trigger:
- master

strategy:
matrix:
linux:
imageName: 'ubuntu-16.04'

pool:
vmImage: 'ubuntu-latest'
vmImage: $(imageName)

steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: 'build'
tasks: 'clean check test'
env:
AZURE: true
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import java.util.function.Function

import static ratpack.groovy.test.embed.GroovyEmbeddedApp.ratpack

@IgnoreIf({ env.TRAVIS })
@IgnoreIf({ env.TRAVIS || env.AZURE })
@Unroll
class BulkheadSpec extends Specification {

Expand Down

0 comments on commit b80af9e

Please sign in to comment.