Travis, make_travis_yml: reverted addition of 'cabal test' in tgz.

This commit is contained in:
John MacFarlane 2015-11-21 08:45:38 -08:00
parent 1494097ffc
commit 99bc204e8b
2 changed files with 2 additions and 2 deletions

View file

@ -90,6 +90,6 @@ script:
# If there are no other `.tar.gz` files in `dist`, this can be even simpler: # If there are no other `.tar.gz` files in `dist`, this can be even simpler:
# `cabal install --force-reinstalls dist/*-*.tar.gz` # `cabal install --force-reinstalls dist/*-*.tar.gz`
- SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && - SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz &&
(cd dist && cabal install --force-reinstalls "$SRC_TGZ" && cabal test) (cd dist && cabal install --force-reinstalls "$SRC_TGZ")
# EOF # EOF

View file

@ -173,7 +173,7 @@ genTravisFromCabalFile fn xpkgs = do
, "# If there are no other `.tar.gz` files in `dist`, this can be even simpler:" , "# If there are no other `.tar.gz` files in `dist`, this can be even simpler:"
, "# `cabal install --force-reinstalls dist/*-*.tar.gz`" , "# `cabal install --force-reinstalls dist/*-*.tar.gz`"
, " - SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz &&" , " - SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz &&"
, " (cd dist && cabal install --force-reinstalls \"$SRC_TGZ\" && cabal test)" , " (cd dist && cabal install --force-reinstalls \"$SRC_TGZ\")"
, "" , ""
, "# EOF" , "# EOF"
] ]