@@ -27,9 +27,9 @@ templates: # this has no effect on travis, it's just a place to put our template
27
27
name : build, publishLocal, build again
28
28
script :
29
29
- set -e
30
- - sbt setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
30
+ - sbt -Dsbt.scala.version=2.12.18-M2 setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
31
31
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
32
- - sbt -Dstarr.version=$STARR setupValidateTest compile
32
+ - sbt -Dsbt.scala.version=2.12.18-M2 - Dstarr.version=$STARR setupValidateTest compile
33
33
workspaces :
34
34
create :
35
35
name : bootstrapped
@@ -53,7 +53,7 @@ templates: # this has no effect on travis, it's just a place to put our template
53
53
script :
54
54
- set -e
55
55
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
56
- - sbt -Dstarr.version=$STARR setupValidateTest Test/compile testAll1
56
+ - sbt -Dsbt.scala.version=2.12.18-M2 - Dstarr.version=$STARR setupValidateTest Test/compile testAll1
57
57
58
58
test2 : &test2
59
59
stage : test
@@ -63,7 +63,7 @@ templates: # this has no effect on travis, it's just a place to put our template
63
63
script :
64
64
- set -e
65
65
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
66
- - sbt -Dstarr.version=$STARR setupValidateTest testAll2
66
+ - sbt -Dsbt.scala.version=2.12.18-M2 - Dstarr.version=$STARR setupValidateTest testAll2
67
67
68
68
jobs :
69
69
include :
@@ -113,7 +113,7 @@ jobs:
113
113
script :
114
114
- set -e
115
115
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
116
- - sbt -Dscala.build.compileWithDotty=true library/compile
116
+ - sbt -Dsbt.scala.version=2.12.18-M2 - Dscala.build.compileWithDotty=true library/compile
117
117
118
118
- name : build benchmarks
119
119
if : type = pull_request OR repo != scala/scala
@@ -122,7 +122,7 @@ jobs:
122
122
script :
123
123
- set -e
124
124
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
125
- - sbt bench/Jmh/compile
125
+ - sbt -Dsbt.scala.version=2.12.18-M2 bench/Jmh/compile
126
126
127
127
- stage : build
128
128
if : type = pull_request OR type = push
0 commit comments