mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-26 06:38:40 +03:00
Try to reduce the number of redundant package builds without cabal new-build
This commit is contained in:
parent
a11be7184c
commit
394746b431
@ -177,6 +177,9 @@ script:
|
||||
|
||||
if [ $CABALVER != "2.0" ]
|
||||
then
|
||||
|
||||
cabal sandbox init
|
||||
|
||||
for dir in $PACKAGES
|
||||
do
|
||||
cd $dir
|
||||
@ -184,7 +187,6 @@ script:
|
||||
travis_retry cabal update
|
||||
PKGVER=$(cabal info . | awk '{print $2;exit}')
|
||||
|
||||
cabal sandbox init
|
||||
cabal install --only-dependencies --enable-tests
|
||||
cabal configure --enable-tests --ghc-options -O0
|
||||
cabal build
|
||||
|
Loading…
Reference in New Issue
Block a user