[Haskell-cafe] Travis/Cabal help

David Feuer david.feuer at gmail.com
Fri Sep 2 15:55:06 UTC 2016


Indeed, that fixed the problem. Unfortunately, now I have a different
problem. The CI build with benchmarks takes *much* longer than the one
without (I think this is mostly because of the time required to
install Criterion's dependencies). Is there some way to make Travis
build benchmarks for just one GHC version, and let the rest build just
the library and tests?

On Fri, Sep 2, 2016 at 10:52 AM, David Feuer <david.feuer at gmail.com> wrote:
> Thanks a lot. I think that's it.
>
>
> On Sep 2, 2016 7:36 AM, "Mikhail Glushenkov" <mikhail.glushenkov at gmail.com>
> wrote:
>>
>> Hi,
>>
>> On 2 September 2016 at 06:04, David Feuer <david.feuer at gmail.com> wrote:
>> > Does anyone know how to interpret those entrails? Is this something that
>> > can
>> > be fixed?
>>
>> I think you just need to install the benchmark suite deps manually,
>> like you do for the test suite:
>>
>> https://github.com/haskell/containers/blob/master/.travis.yml#L31
>>
>> Then you should be able to do 'configure --enable-benchmarks'.
>>
>> The problem is that criterion itself depends on containers, and the
>> solver can't handle such circular deps currently:
>>
>> https://github.com/haskell/cabal/issues/1575


More information about the Haskell-Cafe mailing list