summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2015-08-18 11:51:45 +0100
committerWill Thompson <will@willthompson.co.uk>2015-08-18 11:51:45 +0100
commitf04933d41fda1241f12fa13db7ccbb35e45ca035 (patch)
tree30366632a59c547da962c0152dc6372d40f027d1
parent055e576ccf1e9ffe22b9f9aeb3231f8f9c35a2b8 (diff)
travis: attempt to work around cabal test problem
https://travis-ci.org/wjt/bustle/jobs/76074147#L460
-rw-r--r--.travis.yml2
-rwxr-xr-xmake_travis_yml.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index dca13e6..1d67af2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,7 +66,7 @@ script:
- if [ -f configure.ac ]; then autoreconf -i; fi
- cabal configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
- cabal build # this builds all libraries and executables (including tests/benchmarks)
- - cabal test
+ - cabal test -j1 # TODO: -j1 to attempt to work around Cabal-the-library version mismatch
- cabal check
- cabal sdist # tests that a source-distribution can be generated
diff --git a/make_travis_yml.hs b/make_travis_yml.hs
index 95f4fc5..bb21180 100755
--- a/make_travis_yml.hs
+++ b/make_travis_yml.hs
@@ -170,7 +170,7 @@ genTravisFromCabalFile fn xpkgs = do
, " - if [ -f configure.ac ]; then autoreconf -i; fi"
, " - cabal configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging"
, " - cabal build # this builds all libraries and executables (including tests/benchmarks)"
- , " - cabal test"
+ , " - cabal test -j1 # TODO: -j1 to attempt to work around Cabal-the-library version mismatch"
, " - cabal check"
, " - cabal sdist # tests that a source-distribution can be generated"
, ""