diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..a59285f --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,7 @@ +comment: + layout: "header, diff, tree, changes, sunburst, suggestions" + require_changes: false + branches: null + behavior: default + flags: null +paths: null diff --git a/.travis.yml b/.travis.yml index f9781a6..fdd3e03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,13 @@ cache: - '$HOME/.ivy2/cache' - '$HOME/.sbt/boot/' +script: + - sbt clean coverage test + - sbt coverageReport + - sbt coverageAggregate + - sbt codacyCoverage + after_success: - - UPDATEIMPACT_API_KEY="zYy2GeIf9Gcm9JuT7dvcutEzZhkxJgNL" sbt updateImpactSubmit \ No newline at end of file +- UPDATEIMPACT_API_KEY="zYy2GeIf9Gcm9JuT7dvcutEzZhkxJgNL" sbt updateImpactSubmit +- bash <(curl -s https://codecov.io/bash) -t 7a8a8a42-bf1a-4dcd-b558-b571ee7b25a0 +- sbt coveralls diff --git a/project/plugins.sbt b/project/plugins.sbt index c020e7c..a02f8ce 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -13,3 +13,7 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.1") addSbtPlugin("com.typesafe.sbt" % "sbt-gzip" % "1.0.0") addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3") addSbtPlugin("com.updateimpact" % "updateimpact-sbt-plugin" % "2.1.2") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.0") +addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.8") +addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.1.0") +