on master help sign in
Travis: disable shared libraries in test build to address test linking failures

This change is an attempt to address failures like the one at https://travis-ci.org/jtdaugherty/vty/jobs/660259959 that give rise to the "Prelude.read: no parse" errors. Although that may not seem like the error one would expect, see these resources for details on why I think this is the "fix" for this problem: * https://stackoverflow.com/questions/39310043/getting-prelude-read-no-parse-error-when-using-detailed-0-9-tests-with-cabal * https://github.com/haskell/cabal/pull/3527

commit7255d692fac9190c79e7b3fff9bd4f2b6b521187 authorJonathan Daugherty <cygnus@foobox.com> dateMon 9 Mar 2020, 10:50 (7 years ago) parent84e391f
1 file changed+1−1
.travis.yml+1−1
.travis.yml+1−1
@@ -96,7 +96,7 @@ script:
9696
9797 # build & run tests, build benchmarks
9898 - cabal new-build -w ${HC} ${TEST} ${BENCH} all
99− - if [ "x$TEST" = "x--enable-tests" ]; then cabal new-test -w ${HC} ${TEST} ${BENCH} all; fi
99+ - if [ "x$TEST" = "x--enable-tests" ]; then cabal new-test -w ${HC} ${TEST} --disable-shared ${BENCH} all; fi
100100
101101 # haddock
102102 - rm -rf ./dist-newstyle