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