diff --git a/.travis.yml b/.travis.yml index 644f0fca4521391f5e8216d4b5f300d4f5ba8462..2a345fabe66a362be82712b887c10f04c393e349 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,3 +35,11 @@ script: - cabal configure --enable-tests --enable-benchmarks -v2 - cabal build - cabal test + - cabal check + - cabal sdist + - if [ -f "$SRC_TGZ" ]; then + - cabal install --force-reinstalls "$SRC_TGZ"; + - else + - echo "expected '$SRC_TGZ' not found"; + - exit 1; + - fi