Skip to content

Commit e0c2c42

Browse files
committed
Run builds in parallel on the same machine.
Allows sbts not to lock on the same ivy cache.
1 parent 6b1cd33 commit e0c2c42

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

scripts/common

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ update() {
1111
git reset --hard
1212
}
1313

14+
sbtArgs="-Ddotty.travis.build=yes -ivy $baseDir/ivy2 -Dsbt.global.base=$HOME/.sbt/0.13 -sbt-dir $HOME/.sbt/0.13"

scripts/jobs/validate/junit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ scriptsDir="$baseDir/scripts"
33
. $scriptsDir/common
44

55
update scala scala
6-
sbt -Ddotty.travis.build=yes update compile test
6+
sbt $sbtArgs update compile test

scripts/jobs/validate/partest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ baseDir=${WORKSPACE-`pwd`}
22
scriptsDir="$baseDir/scripts"
33
. $scriptsDir/common
44

5-
sbt -Ddotty.travis.build=yes update compile "partest run"
5+
sbt $sbtArgs update compile "partest run"
66

scripts/jobs/validate/scalastyle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ baseDir=${WORKSPACE-`pwd`}
22
scriptsDir="$baseDir/scripts"
33
. $scriptsDir/common
44

5-
sbt scalastyle
5+
sbt $sbtArgs scalastyle
66

0 commit comments

Comments
 (0)