Use command for validate-pull-request
Suggestion from Josh
With sbt 0.13.1 ->
With sbt 0.13.2-M2 ->
With sbt 0.13.1 ->
commands += Command.command('validate-pull-request") { state: State =>
"clean" ::
"update :: // Note you don't have to do this explicitly
"test:compile" ::
"test" ::
"unidoc" ::
"sphinx:generateHtml" ::
"publishLocal" ::
"publishM2" ::
state
}
With sbt 0.13.2-M2 ->
// Note here we parallelize a few things and remove redundancies
commands += Command.command('validate-pull-request") { state: State =>
"clean" ::
"test:compile" ::
"test" ::
"all unidoc sphinx:generateHtml" ::
"all publishLocal publishM2" ::
state
}
Leave a comment
on 2014-03-12 08:22 *
By Patrik Nordwall
We should try it. It might be a bit more complicated. We use same jenkins job for all branches, i.e. old akka 2.1, 2.2 must do the right thing as well, and release branches add mima check.