[commit: packages/haskeline] master: Don't check in CI that sdist works. (#93) (2d092c5)

git at git.haskell.org git at git.haskell.org
Tue Nov 27 20:23:18 UTC 2018


Repository : ssh://git@git.haskell.org/haskeline

On branch  : master
Link       : http://git.haskell.org/packages/haskeline.git/commitdiff/2d092c5b24a7e02896b545a978e37f36ab518d44

>---------------------------------------------------------------

commit 2d092c5b24a7e02896b545a978e37f36ab518d44
Author: Judah Jacobson <judah at users.noreply.github.com>
Date:   Sat Oct 6 04:48:34 2018 -0700

    Don't check in CI that sdist works. (#93)
    
    Haskeline doesn't have a custom Setup script, so that step isn't
    providing any value.


>---------------------------------------------------------------

2d092c5b24a7e02896b545a978e37f36ab518d44
 .travis.yml | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 775d0b0..4c4da28 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,14 +35,3 @@ script:
  - cabal configure -v2  # -v2 provides useful information for debugging
  - cabal build   # this builds all libraries and executables (including tests/benchmarks)
  - cabal check
- - cabal sdist   # tests that a source-distribution can be generated
-
-# The following scriptlet checks that the resulting source distribution can be built & installed
- - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
-   cd dist/;
-   if [ -f "$SRC_TGZ" ]; then
-      cabal install --force-reinstalls "$SRC_TGZ";
-   else
-      echo "expected '$SRC_TGZ' not found";
-      exit 1;
-   fi



More information about the ghc-commits mailing list