mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
Travis: enable code coverage
This commit is contained in:
parent
8fd471ffdf
commit
ce5461da66
|
|
@ -4,5 +4,7 @@ scala:
|
||||||
before_script:
|
before_script:
|
||||||
- wget https://github.com/psforever/PSCrypto/releases/download/v1.0/pscrypto-lib-1.0.zip
|
- wget https://github.com/psforever/PSCrypto/releases/download/v1.0/pscrypto-lib-1.0.zip
|
||||||
- unzip pscrypto-lib-1.0.zip
|
- unzip pscrypto-lib-1.0.zip
|
||||||
|
script:
|
||||||
|
- sbt ++$TRAVIS_SCALA_VERSION coverage test
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ lazy val commonSettings = Seq(
|
||||||
scalaVersion := "2.11.7",
|
scalaVersion := "2.11.7",
|
||||||
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8"),
|
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8"),
|
||||||
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
|
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
|
||||||
libraryDependencies := Seq(
|
libraryDependencies ++= Seq(
|
||||||
"com.typesafe.akka" %% "akka-actor" % "2.4.4",
|
"com.typesafe.akka" %% "akka-actor" % "2.4.4",
|
||||||
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
|
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
|
||||||
"org.specs2" %% "specs2-core" % "3.8.3" % "test",
|
"org.specs2" %% "specs2-core" % "3.8.3" % "test",
|
||||||
|
|
@ -14,7 +14,8 @@ lazy val commonSettings = Seq(
|
||||||
"com.typesafe.akka" %% "akka-slf4j" % "2.4.4",
|
"com.typesafe.akka" %% "akka-slf4j" % "2.4.4",
|
||||||
"ch.qos.logback" % "logback-classic" % "1.1.7",
|
"ch.qos.logback" % "logback-classic" % "1.1.7",
|
||||||
"org.log4s" %% "log4s" % "1.3.0",
|
"org.log4s" %% "log4s" % "1.3.0",
|
||||||
"org.fusesource.jansi" % "jansi" % "1.12"
|
"org.fusesource.jansi" % "jansi" % "1.12",
|
||||||
|
"org.scoverage" %% "scalac-scoverage-plugin" % "1.1.1"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
logLevel := Level.Warn
|
logLevel := Level.Warn
|
||||||
|
|
||||||
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.7.9")
|
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.7.9")
|
||||||
|
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.5")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue