Travis: run tests when compiling from tarball.
This should help with bugs like #2811.
commitbe2693bc45c92992e44f2c209b35f0de1d11fa53
authorJohn MacFarlane <jgm@berkeley.edu>
dateThu 24 Mar 2016, 09:03 (11 years ago)
parent3bfb8ea
.travis.yml+1−1
@@ -119,7 +119,7 @@ script:
119119 # cabal sdist fails on cabal 1.16:
120120 cabal sdist || [ "$CABALVER" == "1.16" ]
121121 SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \
122− (cd dist && cabal install --force-reinstalls "$SRC_TGZ" || \
122+ (cd dist && cabal install --enable-tests --force-reinstalls "$SRC_TGZ" || \
123123 [ "$CABALVER" == "1.16" ])
124124 ;;
125125 esac