{"action":"created","issue":{"url":"https://api.github.com/repos/scoverage/sbt-coveralls/issues/1","labels_url":"https://api.github.com/repos/scoverage/sbt-coveralls/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/scoverage/sbt-coveralls/issues/1/comments","events_url":"https://api.github.com/repos/scoverage/sbt-coveralls/issues/1/events","html_url":"https://github.com/scoverage/sbt-coveralls/issues/1","id":26030830,"number":1,"title":"Build not failing when it should","user":{"login":"fernandoacorreia","id":17158,"avatar_url":"https://avatars.githubusercontent.com/u/17158?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandoacorreia","html_url":"https://github.com/fernandoacorreia","followers_url":"https://api.github.com/users/fernandoacorreia/followers","following_url":"https://api.github.com/users/fernandoacorreia/following{/other_user}","gists_url":"https://api.github.com/users/fernandoacorreia/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandoacorreia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandoacorreia/subscriptions","organizations_url":"https://api.github.com/users/fernandoacorreia/orgs","repos_url":"https://api.github.com/users/fernandoacorreia/repos","events_url":"https://api.github.com/users/fernandoacorreia/events{/privacy}","received_events_url":"https://api.github.com/users/fernandoacorreia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"sksamuel","id":743706,"avatar_url":"https://avatars.githubusercontent.com/u/743706?v=3","gravatar_id":"","url":"https://api.github.com/users/sksamuel","html_url":"https://github.com/sksamuel","followers_url":"https://api.github.com/users/sksamuel/followers","following_url":"https://api.github.com/users/sksamuel/following{/other_user}","gists_url":"https://api.github.com/users/sksamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/sksamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sksamuel/subscriptions","organizations_url":"https://api.github.com/users/sksamuel/orgs","repos_url":"https://api.github.com/users/sksamuel/repos","events_url":"https://api.github.com/users/sksamuel/events{/privacy}","received_events_url":"https://api.github.com/users/sksamuel/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2014-01-21T19:06:18Z","updated_at":"2015-03-25T12:53:08Z","closed_at":"2014-09-04T19:57:02Z","body":"When [running coveralls](https://github.com/mohiva/play-silhouette/blob/18f141c0bbd1d7db3efbde124efc5b03b68b75e7/scripts/ci-build#L17) the build [shows this error messages](https://travis-ci.org/mohiva/play-silhouette/builds/17357942#L529):\r\n\r\n    [error] (scoverage-test:compile) Compilation failed\r\n\r\nand \r\n\r\n    Could not find any cobertura.xml files. Has the coverage plugin run?\r\n\r\nBut the build succeeds instead of failing:\r\n\r\n    [success] Total time: 99 s, completed Jan 21, 2014 6:20:55 PM\r\n\r\nThe source code on which this is happening is at [this commit](https://github.com/mohiva/play-silhouette/tree/18f141c0bbd1d7db3efbde124efc5b03b68b75e7).\r\n\r\nThe build should fail at the first error (\"Compilation failed\"), but if not, it should certainly fail at the second (\"Could not find any cobertura.xml files\").\r\n\r\nThis seems to be related to sbt-coveralls, since running locally `sbt clean scoverage:test; echo $?;` outputs status code 1 as expected. The same happens when running the project's custom `scripts/sbt` loader script.\r\n\r\nAs a workaround, it fails as it should when tests are explicitly compiled before calling coveralls, as seen [here](https://github.com/mohiva/play-silhouette/pull/70/files)."},"comment":{"url":"https://api.github.com/repos/scoverage/sbt-coveralls/issues/comments/86012302","html_url":"https://github.com/scoverage/sbt-coveralls/issues/1#issuecomment-86012302","issue_url":"https://api.github.com/repos/scoverage/sbt-coveralls/issues/1","id":86012302,"user":{"login":"gslowikowski","id":219863,"avatar_url":"https://avatars.githubusercontent.com/u/219863?v=3","gravatar_id":"","url":"https://api.github.com/users/gslowikowski","html_url":"https://github.com/gslowikowski","followers_url":"https://api.github.com/users/gslowikowski/followers","following_url":"https://api.github.com/users/gslowikowski/following{/other_user}","gists_url":"https://api.github.com/users/gslowikowski/gists{/gist_id}","starred_url":"https://api.github.com/users/gslowikowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gslowikowski/subscriptions","organizations_url":"https://api.github.com/users/gslowikowski/orgs","repos_url":"https://api.github.com/users/gslowikowski/repos","events_url":"https://api.github.com/users/gslowikowski/events{/privacy}","received_events_url":"https://api.github.com/users/gslowikowski/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T12:53:08Z","updated_at":"2015-03-25T12:53:08Z","body":"@rorygraves works on coveralls working with `1.0.5-SNAPSHOT` versions of `scoverage-scala-plugin` and `sbt-scoverage` (see https://github.com/scoverage/sbt-scoverage/issues/100#issuecomment-82616782). This version fixes some path and multimodule build issues.\r\nIf/when the `1.0.5-SNAPSHOT` compatible version of `coveralls` will be ready and tested, we should release: `1.0.5` version of: `scalas-scoverage-plugin`, `sbt-scoverage` and next version of `sbt-coveralls` in this order.\r\nI have some improvements I want to push to `scalac-scoverage-plugin` before releasing, but haven't had time to test it recently."}}