Created
April 7, 2016 03:52
-
-
Save nitay/bedaa252279fdde17584226a89456d22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project/plugins.sbt: | |
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.5") | |
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.1.0") | |
alerts/build.sbt: | |
... | |
coverallsToken := Some("<snip>"), | |
coverallsTokenFile := Some("project/coveralls-token.txt"), | |
... | |
> alerts/coverallsTokenFile | |
[info] Some(project/coveralls-token.txt) | |
> alerts/coverallsToken | |
[error] Expected ':' (if selecting a configuration) | |
[error] Not a valid key: coverallsToken (similar: coverallsRepoToken, coverallsTokenFile, coveralls-token-file) | |
[error] alerts/coverallsToken | |
[error] | |
> alerts/test | |
[info] scalastyle using config /Users/nitay/code/aiq/./scalastyle-test-config.xml | |
[info] Processed 1 file(s) | |
[info] Found 0 errors | |
[info] Found 0 warnings | |
[info] Found 0 infos | |
[info] Finished in 7 ms | |
[success] created output: /Users/nitay/code/aiq/alerts/target | |
[info] scalastyle using config /Users/nitay/code/aiq/scalastyle-config.xml | |
[info] Processed 4 file(s) | |
[info] Found 0 errors | |
[info] Found 0 warnings | |
[info] Found 0 infos | |
[info] Finished in 1 ms | |
[success] created output: /Users/nitay/code/aiq/alerts/target | |
[info] Compiling 328 Scala sources and 1 Java source to /Users/nitay/code/aiq/thrift-lib/target/scala-2.10/classes... | |
[info] [info] Cleaning datadir [/Users/nitay/code/aiq/thrift-lib/target/scala-2.10/scoverage-data] | |
[info] [info] Beginning coverage instrumentation | |
... | |
[info] | |
[info] Passed: Total 12, Failed 0, Errors 0, Passed 12 | |
[success] Total time: 102 s, completed Apr 6, 2016 11:50:32 PM | |
> coverageAggregate | |
[info] Aggregating coverage from subprojects... | |
[info] Found 0 subproject report files [] | |
[info] No subproject data to aggregate, skipping reports | |
[success] Total time: 0 s, completed Apr 6, 2016 11:50:46 PM | |
> coveralls | |
[error] Could not find coveralls repo token or determine travis job id | |
[error] - If running from travis, make sure the TRAVIS_JOB_ID env variable is set | |
[error] - Otherwise, to set up your repo token read https://github.com/scoverage/sbt-coveralls#specifying-your-repo-token | |
[info] Repository = ./.git | |
[error] Could not find the cobertura.xml file. Did you call coverageAggregate? | |
java.io.FileNotFoundException: /Users/nitay/code/aiq/target/scala-2.10/coverage-report/cobertura.xml (No such file or directory) | |
at java.io.FileInputStream.open0(Native Method) | |
at java.io.FileInputStream.open(FileInputStream.java:195) | |
at java.io.FileInputStream.<init>(FileInputStream.java:138) | |
at scala.xml.Source$.fromFile(XML.scala:19) | |
at scala.xml.factory.XMLLoader$class.loadFile(XMLLoader.scala:47) | |
at scala.xml.XML$.loadFile(XML.scala:57) | |
at org.scoverage.coveralls.CoberturaMultiSourceReader.<init>(CoberturaMultiSourceReader.scala:31) | |
at org.scoverage.coveralls.CoverallsPlugin$.doCoveralls(CoverallsPlugin.scala:104) | |
at org.scoverage.coveralls.CoverallsPlugin$$anonfun$coverallsCommand$1.apply(CoverallsPlugin.scala:35) | |
at org.scoverage.coveralls.CoverallsPlugin$$anonfun$coverallsCommand$1.apply(CoverallsPlugin.scala:35) | |
at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30) | |
at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30) | |
at sbt.Command$.process(Command.scala:93) | |
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96) | |
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96) | |
at sbt.State$$anon$1.process(State.scala:184) | |
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96) | |
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96) | |
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) | |
at sbt.MainLoop$.next(MainLoop.scala:96) | |
at sbt.MainLoop$.run(MainLoop.scala:89) | |
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68) | |
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63) | |
at sbt.Using.apply(Using.scala:24) | |
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63) | |
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46) | |
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30) | |
at sbt.MainLoop$.runLogged(MainLoop.scala:22) | |
at sbt.StandardMain$.runManaged(Main.scala:54) | |
at sbt.xMain.run(Main.scala:29) | |
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109) | |
at xsbt.boot.Launch$.withContextLoader(Launch.scala:128) | |
at xsbt.boot.Launch$.run(Launch.scala:109) | |
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35) | |
at xsbt.boot.Launch$.launch(Launch.scala:117) | |
at xsbt.boot.Launch$.apply(Launch.scala:18) | |
at xsbt.boot.Boot$.runImpl(Boot.scala:41) | |
at xsbt.boot.Boot$.main(Boot.scala:17) | |
at xsbt.boot.Boot.main(Boot.scala) | |
[error] java.io.FileNotFoundException: /Users/nitay/code/aiq/target/scala-2.10/coverage-report/cobertura.xml (No such file or directory) | |
[error] Use 'last' for the full log. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment