Skip to content

Commit 7b378d5

Browse files
committed
Upgrade to Scala 2.12 and Scoverage 1.5.0
Details: - SBT Scoverage plugin version upgraded to 1.5.0, - Scala versions changed from "2.10.6" and "2.11.8" to "2.11.8" and "2.12.1", - "scala-compiler" dependency is not needed to compile macros, "scala-reflect" is sufficient ("scala-compiler" was required only when compiling for Scala 2.10.x), - "akka-actor-tests" dependency changed to "akka-testkit" ("akka-actor-tests" was never needed, but it pulled required "akka-testkit" transitively).
1 parent 3efde03 commit 7b378d5

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ language: scala
33
script: "sbt ++$TRAVIS_SCALA_VERSION coverage test coverageReport"
44

55
scala:
6-
- 2.10.6
76
- 2.11.8
7+
- 2.12.1
88

99
jdk:
10-
- oraclejdk7
10+
- oraclejdk8

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ A sample program for demonstrating scoverage's code coverage. This sample is an
77

88
It uses:
99

10-
* Akka 2.3.16
10+
* Akka 2.4.16
1111
* Scalatest for unit tests
12-
* Scoverage 1.4.0
12+
* Scoverage 1.5.0
1313

1414
To run:
1515

build.sbt

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name := "sbt-scoverage-samples"
22

33
organization := "org.scoverage"
44

5-
version := "1.4.0"
5+
version := "1.5.0"
66

7-
scalaVersion := "2.11.8"
7+
scalaVersion := "2.12.1"
88

9-
crossScalaVersions := Seq("2.10.6", "2.11.8")
9+
crossScalaVersions := Seq("2.11.8", "2.12.1")
1010

1111
javacOptions ++= Seq("-source", "1.6", "-target", "1.6")
1212

@@ -16,10 +16,10 @@ scalacOptions in (Compile, doc) ++= Seq("-unchecked", "-deprecation", "-diagrams
1616

1717
libraryDependencies ++= Seq(
1818
"commons-io" % "commons-io" % "2.4",
19-
"com.typesafe.akka" %% "akka-actor" % "2.3.16",
20-
"com.typesafe.akka" %% "akka-actor-tests" % "2.3.16" % "test",
19+
"com.typesafe.akka" %% "akka-actor" % "2.4.16",
20+
"com.typesafe.akka" %% "akka-testkit" % "2.4.16" % "test",
2121
"org.typelevel" %% "macro-compat" % "1.1.1",
22-
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided",
22+
"org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided",
2323
"org.scalatest" %% "scalatest" % "3.0.0" % "test",
2424
compilerPlugin("org.scalamacros" %% "paradise" % "2.1.0" cross CrossVersion.full)
2525
)

project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.4.0")
1+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.0")

0 commit comments

Comments
 (0)