Speed up Travis build #665

This commit is contained in:
Michael Snoyman 2018-01-15 05:33:39 +02:00
parent 4e98c7f0d9
commit 22256bda44
No known key found for this signature in database
GPG Key ID: A048E8C057E86876

View File

@ -199,14 +199,15 @@ script:
do
cd $dir
cabal check || [ "$CABALVER" == "1.16" ]
cabal sdist
PKGVER=$(cabal info . | awk '{print $2;exit}')
SRC_TGZ=$PKGVER.tar.gz
cd dist
tar zxfv "$SRC_TGZ"
cd "$PKGVER"
cabal configure --enable-tests
cabal build
# Takes too long, see https://github.com/yesodweb/wai/issues/665
#cabal sdist
#PKGVER=$(cabal info . | awk '{print $2;exit}')
#SRC_TGZ=$PKGVER.tar.gz
#cd dist
#tar zxfv "$SRC_TGZ"
#cd "$PKGVER"
#cabal configure --enable-tests
#cabal build
cd $ORIGDIR
done
;;