forked from TestingCI/sample_scala_postgres
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
executable file
·31 lines (22 loc) · 956 Bytes
/
build.sbt
File metadata and controls
executable file
·31 lines (22 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name := "scala"
version := "0.98.5"
scalaVersion := "2.10.2"
crossScalaVersions := Seq("2.10.2", "2.10.3")
libraryDependencies ++= Seq(
"junit" % "junit" % "4.5",
"org.scalatest" % "scalatest_2.10" % "2.2.0",
//"org.scalatest" % "scalatest_2.11" % "2.2.0-RC2",
//"org.scalatest" %% "scalatest" % "2.1.6" % "test",
"com.github.mauricio" % "postgresql-async_2.10" % "0.2.12"
//"com.github.mauricio" %% "postgresql-async" % "0.2.6"
)
testOptions in Test <+= (target in Test) map {
t => Tests.Argument(TestFrameworks.ScalaTest, "junitxml(directory=\"%s\")" format (t / "../shippable/testresults"))
}
instrumentSettings
ScoverageKeys.minimumCoverage := 60
ScoverageKeys.failOnMinimumCoverage := false
ScoverageKeys.highlighting := {
if (scalaBinaryVersion.value == "2.10") false
else false
}