Skip to content
Snippets Groups Projects
Unverified Commit 12307e18 authored by Lennart Kolmodin's avatar Lennart Kolmodin Committed by GitHub
Browse files

Make Travis build again. (#170)

Travis keeps breaking due to its very fragile build script.
Switching to an approach which I hope will be more robust.

Only use recent version of cabal when building for all GHC versions.
This means we no longer test older cabal install binaries.

cabal-install is unable to come up with a build plan for the tests and
benchmarks. The problem seems to be that building binary's
tests/benchmarks requires having binary, which is what we're trying to
build. Cabal doesn't seem to separate the lib/tests/benchmarks into
distinct build units, so it fails to come up with a plan.

To work around this, when building on travis, we rename the binary
library. With a new name, cabal can find a plan and run the tests.

Remove GHC 7.4.2 and 7.6.3 from the testing matrix.
They fail with this new build setup for a reason I haven't investigated.
parent af421a84
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment