Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coveralls plugins #65

Merged
merged 1 commit into from
Dec 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
language: scala
scala:
- 2.11.7

script: "sbt clean coverage test"
after_success: "sbt coverageReport coveralls"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ If you're using Maven, add the following dependency to your `pom.xml` file:
```xml
<dependency>
<groupId>com.algolia</groupId>
<artifactId>algoliasearch-scala</artifactId>
<version>1.0.0-SNAPSHOT</version>
<artifactId>algoliasearch-scala_2.11</artifactId>
<version>1.0.0</version>
</dependency>
```

Expand All @@ -81,7 +81,7 @@ Initialize the client with your Application ID and API Key. You can find them on

If you're using SBT, add the following dependency to your `build.sbt` file:
```scala
libraryDependencies += "com.algolia" %% "algoliasearch-scala" % "1.0.0-SNAPSHOT"
libraryDependencies += "com.algolia" %% "algoliasearch-scala" % "1.0.0"
```

For Snapshots add the Sonatype repository:
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ version := "1.0.0"

scalaVersion := "2.11.7"

coverageHighlighting := false //setting to true crashes the coverage

coverageEnabled := true
//Wait fix in sbt-coveralls
ScoverageSbtPlugin.ScoverageKeys.coverageHighlighting := false //setting to true crashes the coverage
//coverageEnabled := true

val dispatchVersion = "0.11.3"
val json4sVersion = "3.2.11"
Expand Down
10 changes: 9 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.3")
//Coverage
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.0.2")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.0.0")

//Release
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.0")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")

//Auto MIT Licence Header
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "1.5.1")

//Auto version
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.5.0")