coala / docker-coala-base

coala base docker image
20 stars 28 forks source link

ghc-mod missing #87

Open jayvdb opened 7 years ago

jayvdb commented 7 years ago

Master is currently failing due to lack of coverage bears/haskell/GhcModBear.py 12 1 2 0 93% 28 https://travis-ci.org/jayvdb/docker-coala-base/builds/193966892#L9355

Adding ghc-mod creates some test failures. https://travis-ci.org/jayvdb/docker-coala-base/builds/193989207#L9475

jayvdb commented 7 years ago

cc @vijeth-aradhya

vijeth-aradhya commented 7 years ago

Which version of ghc-mod is added?

jayvdb commented 7 years ago

@vijeth-aradhya , the version be checked in the logs linked in the issue description. Or you can try installing another version. Which version do you recommend? Is there a minimum version? See https://github.com/coala/coala-bears/issues/1357

vijeth-aradhya commented 7 years ago

The ghc-mod seems to be correct [5.6.0] as specified in CabalRequirement And, it's using zypper to install it (in the build)? Also, what's the ghc version? It's good if it's ( >= 7.10. ) Do you remember what it was in Circle and Travis? :thinking:

jayvdb commented 7 years ago

I've done two builds of using cabal install with the new coala-bears.cabal, and both have exceeded the Travis time limit. https://travis-ci.org/jayvdb/docker-coala-base/builds/202608933 https://travis-ci.org/jayvdb/docker-coala-base/builds/202451271

Somehow we need to speed this up.

jayvdb commented 7 years ago

I've done a build with cabal install, without R which should save about 10 mins, and it stills exceeds the Travis time limit. https://travis-ci.org/jayvdb/docker-coala-base/builds/203087069 And it is a 4Gb image.