File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: scala
3
3
env :
4
4
global :
5
5
6
- script : sbt test:compile "hot -psource=scalap -w1 -f1" "micro/jmh:run -w1 -f1"
6
+ script : sbt test:compile "hot -psource=scalap -w1 -f1" "micro/jmh:run -w1 -f1" "; project compilation ; +test"
7
7
8
8
jdk :
9
9
- oraclejdk8
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ name := "compiler-benchmark"
2
2
3
3
version := " 1.0-SNAPSHOT"
4
4
5
- scalaVersion in ThisBuild := " 2.11.8"
5
+ def scala211 = " 2.11.11"
6
+ def dottyLatest = " 0.2.0-RC1"
7
+ scalaVersion in ThisBuild := scala211
6
8
7
9
resolvers += " scala-integration" at " https://scala-ci.typesafe.com/artifactory/scala-integration/"
8
10
@@ -40,6 +42,7 @@ lazy val compilation = addJmh(project).settings(
40
42
if (isDotty.value) " ch.epfl.lamp" %% " dotty-compiler" % scalaVersion.value
41
43
else scalaOrganization.value % " scala-compiler" % scalaVersion.value
42
44
},
45
+ crossScalaVersions := List (scala211, dottyLatest),
43
46
unmanagedSourceDirectories.in(Compile ) +=
44
47
sourceDirectory.in(Compile ).value / (if (isDotty.value) " dotc" else " scalac" ),
45
48
mainClass in (Jmh , run) := Some (" scala.bench.ScalacBenchmarkRunner" ),
You can’t perform that action at this time.
0 commit comments