diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-03-24 09:03:13 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-03-24 09:03:13 -0700 |
commit | be2693bc45c92992e44f2c209b35f0de1d11fa53 (patch) | |
tree | 58ef3e00f4890bbbca4c149225335dfd939f81a7 | |
parent | 3bfb8ea032a95db63206142762f025b3587edf18 (diff) | |
download | pandoc-be2693bc45c92992e44f2c209b35f0de1d11fa53.tar.gz |
Travis: run tests when compiling from tarball.
This should help with bugs like #2811.
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 9c031216f..f8650d2cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -119,7 +119,7 @@ script: # cabal sdist fails on cabal 1.16: cabal sdist || [ "$CABALVER" == "1.16" ] SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \ - (cd dist && cabal install --force-reinstalls "$SRC_TGZ" || \ + (cd dist && cabal install --enable-tests --force-reinstalls "$SRC_TGZ" || \ [ "$CABALVER" == "1.16" ]) ;; esac |