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
Source directories must not be nested #73
Comments
I just ran into this as well. It looks like |
Currently the Travis job fails (https://travis-ci.org/alexandru/shade/jobs/97903369#L505) to send coverage to Coveralls.io because of a bug in the plugin as mentioned in this issue scoverage/sbt-coveralls#73. Let's try downgrading by 1 version to see if it gets fixed.
Currently the Travis job fails (https://travis-ci.org/alexandru/shade/jobs/97903369#L505) to send coverage to Coveralls.io because of a bug in the plugin as mentioned in this issue scoverage/sbt-coveralls#73. Let's try downgrading by 1 version to see if it gets fixed. Downgrade Scoverage too as apparently that needs to be compatible with our version of Coveralls Add a note regarding SBT-Scoverage and SBT-coveralls compatibility
This is biting me too. Looks like I'm headed for a downgrade of sbt-scoverage and sbt-coveralls plugins as well. 👎 |
What's odd is that there's a test case that explicitly checks to make sure that the result of calling |
It does appear to be by design, however only the one test case appears to rely on it. This could be addressed simply by changing def isChild(child: File, parent: File): Boolean =
sbt.IO.relativize(parent, child).isDefined and changing that test case to expect |
I just ran into this as well with:
Which versions should I use to get your bugfix? Have you released a stable version of sbt-coveralls (or combination of sbt-scoverage and sbt-coveralls) already? |
I'm using the same versions as @jackewitz and having the same issues. |
@jackewitz this pull request answers your questions about which versions to use: |
Currently the Travis job fails (https://travis-ci.org/alexandru/shade/jobs/97903369#L505) to send coverage to Coveralls.io because of a bug in the plugin as mentioned in this issue scoverage/sbt-coveralls#73. Let's try downgrading by 1 version to see if it gets fixed. Downgrade Scoverage too as apparently that needs to be compatible with our version of Coveralls Add a note regarding SBT-Scoverage and SBT-coveralls compatibility
Currently the Travis job fails (https://travis-ci.org/alexandru/shade/jobs/97903369#L505) to send coverage to Coveralls.io because of a bug in the plugin as mentioned in this issue scoverage/sbt-coveralls#73. Let's try downgrading by 1 version to see if it gets fixed. Downgrade Scoverage too as apparently that needs to be compatible with our version of Coveralls Add a note regarding SBT-Scoverage and SBT-coveralls compatibility
Using old version of sbt-coveralls until scoverage/sbt-coveralls#73 is released.
Has anyone run into this issue after downgrading? #56 |
@zzztimbo I had no issues using the versions shown in the pull request ie. addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.0.1")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.0.0") |
I had no issues using the versions shown at @ozoli comment. Great. :-) |
… on travis failed, because of the following issue: scoverage/sbt-coveralls#73
I just encountered this with sbt-scoverage 1.3.5 and sbt-coveralls 1.0.3 as well. |
Despite being closed, this issue still affects many users as there's no published version of the two plugins since then. I'll have to downgrade them in my project too, but downgrading from sbt-scoverage 1.3.5 to 1.0.3 seems a big jump... @sksamuel, is there any idea of when might you release a new version? |
This is needed to avoid scoverage/sbt-coveralls#73.
I've put coveralls 1.1.0 onto maven central (note: not bintray) |
@sksamuel thank you for your quick action, I was able to make it work now with sbt-scoverage 1.3.5 and sbt-coveralls 1.1.0! However, I had to run Thank you once more! |
Hi,
I'm trying a very simple build with coveralls, but it fails with this error:
ava.lang.IllegalArgumentException: requirement failed: Source directories must not be nested
It's a single module buils and contains one src/main/scala directory
build.sbt only contains:
lazy val sprayVersion = "1.3.2"
organization := "com.example"
version := "0.1.0"
scalaVersion := "2.11.5"
name := "coveralls-test"
libraryDependencies ++= Seq(
"commons-codec" % "commons-codec" % "1.10",
"io.spray" %% "spray-json" % sprayVersion,
"io.spray" %% "spray-client" % sprayVersion,
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
"ch.qos.logback" % "logback-classic" % "1.1.3",
"ch.qos.logback" % "logback-core" % "1.1.3",
"com.typesafe.akka" %% "akka-actor" % "2.3.14",
"org.scalatest" %% "scalatest" % "2.2.4" % Test,
"junit" % "junit" % "4.12" % Test,
"org.pegdown" % "pegdown" % "1.1.0" % Test)
Any ideas?
The text was updated successfully, but these errors were encountered: