-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
1,210 additions
and
546 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
language: scala | ||
scala: | ||
- 2.12.10 | ||
jdk: | ||
- openjdk8 | ||
script: | ||
- sbt clean coverage test it:test coverageReport && sbt coverageAggregate | ||
after_success: | ||
- sbt coveralls | ||
- sbt coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
import sbt.Keys._ | ||
import sbt._ | ||
import sbt.{Def, _} | ||
|
||
object Testing { | ||
object Tests { | ||
|
||
import Configs._ | ||
|
||
private lazy val testSettings = Seq( | ||
fork in Test := false, | ||
parallelExecution in Test := false | ||
) | ||
|
||
lazy val testAll = TaskKey[Unit]("test-all") | ||
|
||
private lazy val itSettings = inConfig(IntegrationTest)(Defaults.testSettings) ++ Seq( | ||
fork in IntegrationTest := false, | ||
parallelExecution in IntegrationTest := false, | ||
scalaSource in IntegrationTest := baseDirectory.value / "src/it/scala" | ||
) | ||
private lazy val testAll = TaskKey[Unit]("testAll", "Executes unit and integration tests.") | ||
|
||
lazy val settings = testSettings ++ itSettings ++ Seq( | ||
testAll := (), | ||
testAll <<= testAll.dependsOn(test in IntegrationTest), | ||
testAll <<= testAll.dependsOn(test in Test) | ||
lazy val settings: Seq[Def.Setting[_]] = testSettings ++ itSettings ++ Seq( | ||
testAll := (test in Test).dependsOn(test in IntegrationTest).value | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version = 0.13.9 | ||
sbt.version = 1.3.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
logLevel := Level.Warn | ||
|
||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1") | ||
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.2") | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.9") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") | ||
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7") | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
log4j.rootLogger=INFO, stdout | ||
|
||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | ||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %c{1}:%L - %m%n | ||
|
||
log4j.logger.kafka=ERROR, stdout | ||
log4j.logger.org.apache.zookeeper=ERROR, stdout | ||
log4j.logger.org.apache.kafka=ERROR, stdout | ||
log4j.logger.org.I0Itec.zkclient=ERROR, stdout | ||
log4j.logger.org.reflections=ERROR, stdout |
Oops, something went wrong.