Added comment in .travis.yml to explain last change.

This commit is contained in:
John MacFarlane 2015-10-09 22:33:15 -07:00
parent fa18e3d7e1
commit a25c565f81
3 changed files with 7 additions and 3 deletions

View file

@ -74,7 +74,9 @@ script:
- cabal build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)
- cabal test
- cabal check
- ./dist/setup/setup sdist # tests that a source-distribution can be generated
# Test that a source-distribution can be generated
# (with cabal >= 1.18 'cabal sdist' would work too):
- ./dist/setup/setup sdist
# Check that the resulting source distribution can be built & installed.
# If there are no other `.tar.gz` files in `dist`, this can be even simpler:

View file

@ -34,7 +34,7 @@ dist: man/pandoc.1
cd pandoc-${version}
cabal configure ${CABALARGS} && cabal build && cabal test && cd .. && rm -rf "pandoc-${version}"
.travis.yml: pandoc.cabal
.travis.yml: pandoc.cabal make_travis_yml.hs
runghc make_travis_yml.hs $< > $@
debpkg: man/pandoc.1

View file

@ -165,7 +165,9 @@ genTravisFromCabalFile fn xpkgs = do
, " - cabal build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)"
, " - cabal test"
, " - cabal check"
, " - ./dist/setup/setup sdist # tests that a source-distribution can be generated"
, "# Test that a source-distribution can be generated"
, "# (with cabal >= 1.18 'cabal sdist' would work too):"
, " - ./dist/setup/setup sdist"
, ""
, "# Check that the resulting source distribution can be built & installed."
, "# If there are no other `.tar.gz` files in `dist`, this can be even simpler:"