Failing Travis CI Build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Failing Travis CI Build

Steven Leiva
Hi Everyone,

I am trying to contribute to a small Haskell project 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.

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
Mixmax Not using Mixmax yet?



_______________________________________________
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.
Reply | Threaded
Open this post in threaded view
|

Re: Failing Travis CI Build

Mikolaj Konarski-2
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 <[hidden email]> wrote:
Hi Everyone,

I am trying to contribute to a small Haskell project 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.

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
Mixmax Not using Mixmax yet?



_______________________________________________
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.


_______________________________________________
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.
Reply | Threaded
Open this post in threaded view
|

Re: Failing Travis CI Build

Steven Leiva
Hello Mikolaj,

I've been scratching my head over this for a few days. You're suggestion fixed it. Thank you very much. 

-Steven

On Oct 22, 2017 11:22 AM, "Mikolaj Konarski" <[hidden email]> 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 <[hidden email]> wrote:
Hi Everyone,

I am trying to contribute to a small Haskell project 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.

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
Mixmax Not using Mixmax yet?


Steven Leiva
<a href="tel:(305)%20528-6038" value="+13055286038" target="_blank">305.528.6038
[hidden email]
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.


_______________________________________________
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.
Reply | Threaded
Open this post in threaded view
|

Re: Failing Travis CI Build

Mikolaj Konarski-2
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" <[hidden email]> 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 <[hidden email]> wrote:
Hi Everyone,

I am trying to contribute to a small Haskell project 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.

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
Mixmax Not using Mixmax yet?


Steven Leiva
<a href="tel:(305)%20528-6038" value="+13055286038" target="_blank">305.528.6038
[hidden email]
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.



_______________________________________________
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.