Skip to content

Commit

Permalink
Merge pull request #3 from websudos/feature/MPH-67
Browse files Browse the repository at this point in the history
Updating coveralls command to generate report after success
  • Loading branch information
alexflav23 committed Sep 17, 2015
2 parents 4fa7744 + 8be1e68 commit 46ed9ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -45,7 +45,10 @@ before_script:
- mysql -e "SET PASSWORD FOR 'travis'@'localhost' = PASSWORD('morpheus23!')"

script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test && sbt ++$TRAVIS_SCALA_VERSION coverageAggregate
- sbt ++$TRAVIS_SCALA_VERSION "project morpheus-dsl" clean coverage test coverageReport
- sbt ++$TRAVIS_SCALA_VERSION "project morpheus-mysql" clean coverage test coverageReport
- sbt ++$TRAVIS_SCALA_VERSION "project morpheus-testkit" clean coverage test coverageReport
- sbt ++$TRAVIS_SCALA_VERSION coverageAggregate

after_success:
- sbt ++$TRAVIS_SCALA_VERSION coveralls
4 changes: 2 additions & 2 deletions project/plugins.sbt
Expand Up @@ -4,15 +4,15 @@ resolvers ++= Seq(
"Twitter Repo" at "http://maven.twttr.com/",
"sonatype-releases" at "https://oss.sonatype.org/content/repositories/releases/",
Resolver.url("scoverage-bintray", url("https://dl.bintray.com/sksamuel/sbt-plugins/"))(Resolver.ivyStylePatterns),
Resolver.bintrayRepo("websudos", "oss-releases"),
Resolver.url("Websudos OSS", url("http://dl.bintray.com/websudos/oss-releases"))(Resolver.ivyStylePatterns),
Classpaths.sbtPluginReleases
)

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.5")

// addSbtPlugin("com.twitter" %% "scrooge-sbt-plugin" % "3.18.1")

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.1")
addSbtPlugin("com.websudos" % "sbt-scoverage" % "1.3.2")

addSbtPlugin("org.scoverage" %% "sbt-coveralls" % "1.0.0")

Expand Down

0 comments on commit 46ed9ae

Please sign in to comment.