[Haskell-cafe] Stack and Circle CI

Joel H joel.hermanns at gmail.com
Wed Aug 24 16:13:47 UTC 2016


Hi,

I've used this one:
https://github.com/jhedev/todobackend-haskell/blob/master/circle.yml And it
worked great so far.

Maybe this helps.

Regards,
Joel
On Wed, 24 Aug 2016 at 17:59, Nicola Gigante <nicola.gigante at gmail.com>
wrote:

> Hi all,
>
> has any of you had any success testing haskell projects on
> CircleCI with a setup that involved Stack?
>
> CircleCI seems to directly support haskell by specifying the
> version of GHC but I wanted my dependencies and tests to
> be handled by Stack also on the testing machines, since it
> is my main development tool.
>
> I’m also new to Circle CI in particular, although I used Travis
> in the past. I’ve tried collecting some example files but it seems
> to have problems with the first ‘stack build’ phase since I see
> no output in the online console.
>
> My circle.yml file:
>
> dependencies:
>   cache_directories:
>     - "~/.stack"
>   pre:
>     - wget
> https://github.com/commercialhaskell/stack/releases/download/v0.1.2.0/stack-0.1.2.0-x86_64-linux.gz
> -O /tmp/stack.gz
>     - gunzip /tmp/stack.gz && chmod +x /tmp/stack
>     - sudo mv /tmp/stack /usr/bin/stack
>   override:
>     - stack setup
>     - stack build
>
> test:
>   override:
>     - stack test
>
>
> Anybody? Thanks.
>
> Greetings,
> Nicola
> _______________________________________________
> 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/20160824/e02e082b/attachment.html>


More information about the Haskell-Cafe mailing list