Re: [Haskell-cafe] RFC: Changes to Travis CI's Haskell support

2012-12-05 Thread Simon Hengel
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

Re: [Haskell-cafe] RFC: Changes to Travis CI's Haskell support

2012-12-03 Thread Johan Tibell
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 be

[Haskell-cafe] RFC: Changes to Travis CI's Haskell support

2012-12-03 Thread Simon Hengel
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 p