Hi,<br><br>I've used this one: <a href="https://github.com/jhedev/todobackend-haskell/blob/master/circle.yml">https://github.com/jhedev/todobackend-haskell/blob/master/circle.yml</a> And it worked great so far. <br><br>Maybe this helps.<br><br>Regards,<br>Joel<br><div class="gmail_quote"><div dir="ltr">On Wed, 24 Aug 2016 at 17:59, Nicola Gigante <<a href="mailto:nicola.gigante@gmail.com">nicola.gigante@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
has any of you had any success testing haskell projects on<br>
CircleCI with a setup that involved Stack?<br>
<br>
CircleCI seems to directly support haskell by specifying the<br>
version of GHC but I wanted my dependencies and tests to<br>
be handled by Stack also on the testing machines, since it<br>
is my main development tool.<br>
<br>
I’m also new to Circle CI in particular, although I used Travis<br>
in the past. I’ve tried collecting some example files but it seems<br>
to have problems with the first ‘stack build’ phase since I see<br>
no output in the online console.<br>
<br>
My circle.yml file:<br>
<br>
dependencies:<br>
  cache_directories:<br>
    - "~/.stack"<br>
  pre:<br>
    - wget <a href="https://github.com/commercialhaskell/stack/releases/download/v0.1.2.0/stack-0.1.2.0-x86_64-linux.gz" rel="noreferrer" target="_blank">https://github.com/commercialhaskell/stack/releases/download/v0.1.2.0/stack-0.1.2.0-x86_64-linux.gz</a> -O /tmp/stack.gz<br>
    - gunzip /tmp/stack.gz && chmod +x /tmp/stack<br>
    - sudo mv /tmp/stack /usr/bin/stack<br>
  override:<br>
    - stack setup<br>
    - stack build<br>
<br>
test:<br>
  override:<br>
    - stack test<br>
<br>
<br>
Anybody? Thanks.<br>
<br>
Greetings,<br>
Nicola<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>