RFC: Changes to Travis CI's Haskell support
Hi, currently the default to test Haskell projects on Travis CI [1] is: install: - cabal install --enable-tests script: - cabal test The issue with this is that it runs the test-suite twice, which is a waste of resources and delays build reports. This was an oversight on my part, when I adapted Travis's Haskell support for cabal-install-0.14.0. I think the right thing to do is: install: - cabal install --only-dependencies --enable-tests script: - cabal configure --enable-tests && cabal build && cabal test Please let me know if you think there are better ways to do it, or if you see any issues. Cheers, Simon [1] https://travis-ci.org/
On Mon, Dec 3, 2012 at 1:04 AM, Simon Hengel
I think the right thing to do is:
install: - cabal install --only-dependencies --enable-tests
script: - cabal configure --enable-tests && cabal build && cabal test
Please let me know if you think there are better ways to do it, or if you see any issues.
This is the right thing to do. -- Johan
On Mon, Dec 03, 2012 at 08:13:42AM -0800, Johan Tibell wrote:
On Mon, Dec 3, 2012 at 1:04 AM, Simon Hengel
wrote: I think the right thing to do is:
install: - cabal install --only-dependencies --enable-tests
script: - cabal configure --enable-tests && cabal build && cabal test
Please let me know if you think there are better ways to do it, or if you see any issues.
This is the right thing to do.
I just created the PRs: https://github.com/travis-ci/travis-build/pull/51 https://github.com/travis-ci/travis-ci.github.com/pull/172 Cheers, Simon
participants (2)
-
Johan Tibell -
Simon Hengel