on master help sign in
Speed up Travis build #665
22256bdMichael Snoyman
.travis.yml+9−8
@@ -199,14 +199,15 @@ script:
199 do
199 do
200 cd $dir
200 cd $dir
201 cabal check || [ "$CABALVER" == "1.16" ]
201 cabal check || [ "$CABALVER" == "1.16" ]
202+ # Takes too long, see https://github.com/yesodweb/wai/issues/665
202− cabal sdist
203+ #cabal sdist
203− PKGVER=$(cabal info . | awk '{print $2;exit}')
204+ #PKGVER=$(cabal info . | awk '{print $2;exit}')
204− SRC_TGZ=$PKGVER.tar.gz
205+ #SRC_TGZ=$PKGVER.tar.gz
205− cd dist
206+ #cd dist
206− tar zxfv "$SRC_TGZ"
207+ #tar zxfv "$SRC_TGZ"
207− cd "$PKGVER"
208+ #cd "$PKGVER"
208− cabal configure --enable-tests
209+ #cabal configure --enable-tests
209− cabal build
210+ #cabal build
210 cd $ORIGDIR
211 cd $ORIGDIR
211 done
212 done
212 ;;
213 ;;