I've seen quite a few travis stack scripts, they seemed pretty complicated, I don't think they have to be so complicated.
Here's mine:
language: haskell
sudo: false
ghc:
- '7.10.3'
Locally I compile my app by "stack build".
How can I add "stack" to the travis file properly? At the moment I need only stack, no tests.
There's a very thorough example at
http://docs.haskellstack.org/en/stable/GUIDE/#travis-with-caching
It used to be much smaller, but we added support to that to build with both Stack and cabal, which complicated things a lot. You can always trim it down to remove support for some of the more complicated features.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With