pathikrit / scalgos

algorithms in scala
434 stars 129 forks source link

Update plugins.sbt #2

Closed 0xRoch closed 10 years ago

0xRoch commented 10 years ago

https://github.com/scoverage/sbt-scoverage/issues/6

pathikrit commented 10 years ago

Thanks for sending the PR - it looks like the build simply hanged as usual. You can verify by commenting out sbt coveralls from the .travis.yml and it should work. You can also try simply running sbt test and it will work but sbt scoverage:test will hang. Maybe we should try disbaling parallel execution?

sksamuel commented 10 years ago

Ok so it works with both. Except with scoverage it takes forever (I'm guessing two orders of magnitudes) and I'm running on an i7 with 32gb ram. If you're using a laptop I can see why you think it hangs, or something like travis will time it out.

Scoverage works by taking each statement and writing out once its completed. This file writing is quite slow. I have an idea to speed it up in your case by a huge margin. Let me test it. In fact your tests would be fantastic to add to scoverage as a kind of integration test as they're hammering the code. What do you think?