[Haskell-cafe] Failing Travis CI Build
Mikolaj Konarski
mikolaj at well-typed.com
Sun Oct 22 21:58:43 UTC 2017
>
> I've been scratching my head over this for a few days. You're suggestion
> fixed it. Thank you very much.
>
You are welcome.
Good luck with your contributions. That's a very good form
of learning, indeed.
Cheers,
Mikolaj
> On Oct 22, 2017 11:22 AM, "Mikolaj Konarski" <mikolaj at well-typed.com>
> wrote:
>
>> Hi Steven
>>
>> I guess you should add `--enable-tests --enable-benchmarks`
>> to the `cabal install --dependencies-only` call,
>> so that you install dependencies for the exact
>> setup that you want to build.
>>
>> Cheers,
>> Mikolaj
>>
>>
>> On Sun, Oct 22, 2017 at 2:45 PM, Steven Leiva <leiva.steven at gmail.com>
>> wrote:
>>
>>> Hi Everyone,
>>>
>>> I am trying to contribute to a small Haskell project
>>> <https://github.com/markandrus/twilio-haskell/pull/57> in order to
>>> break out of structured learning via books into some real-world code.
>>>
>>> Unfortunately, the pull request that I made (linked above) is failing
>>> the continuous integration check. You can see a partial log before. The
>>> entire logs can be found here
>>> <https://s3.amazonaws.com/archive.travis-ci.org/jobs/291109486/log.txt?X-Amz-Expires=30&X-Amz-Date=20171022T123432Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20171022/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=7e49813e9db85016959f80a457b6d323575425c4cc1cf02ae95f942b28fbc0cc>
>>> .
>>>
>>> I thought that this would work because:
>>>
>>>
>>> 1. We are using the 8.20 resolver in our project.
>>> 2. The 8.20 resolver includes QuickCheck, hspec, and
>>> quickcheck-instances.
>>> 3. The dependencies are listed in the cabal file.
>>>
>>> Am I missing something obvious? Is the above not the way it works?
>>>
>>> Thank you for any help.
>>>
>>>
>>>
>>>
>>> Logs
>>>
>>> Reading available packages...
>>> Choosing modular solver.
>>> Resolving dependencies...
>>> Could not resolve dependencies:
>>> trying: twilio-0.2.0.0 (user goal)
>>> rejecting: twilio-0.2.0.0:!test (global constraint requires opposite flag
>>> selection)
>>> trying: twilio-0.2.0.0:*test
>>> next goal: quickcheck-instances (dependency of twilio-0.2.0.0:*test)
>>> fail (unknown package: quickcheck-instances)
>>> Dependency tree exhaustively searched.
>>> Configuring twilio-0.2.0.0...
>>> cabal: At least the following dependencies are missing:
>>> QuickCheck ==2.*, hspec ==2.*, quickcheck-instances -any
>>>
>>> [image: Mixmax]
>>> <https://mixmax.com/r/59ec918e83319a2a077ff18c> Not using Mixmax yet?
>>> <https://mixmax.com/r/59ec918e83319a2a077ff18c>
>>>
>>>
>>> Steven Leiva
>>> 305.528.6038 <(305)%20528-6038>
>>> leiva.steven at gmail.com
>>> http://www.linkedin.com/in/stevenleiva
>>>
>>> _______________________________________________
>>> Haskell-Cafe mailing list
>>> To (un)subscribe, modify options or view archives go to:
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>> Only members subscribed via the mailman list are allowed to post.
>>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20171022/f4243503/attachment.html>
More information about the Haskell-Cafe
mailing list