.travis.yml tweaks: use ulimit, --ghc-options for cabal build.
This commit is contained in:
parent
62487bd69f
commit
d94116bf47
1 changed files with 3 additions and 5 deletions
|
@ -113,10 +113,9 @@ install:
|
||||||
stack --no-terminal --install-ghc $ARGS build --only-dependencies --fast --flag 'pandoc:embed_data_files' --flag 'aeson:fast'
|
stack --no-terminal --install-ghc $ARGS build --only-dependencies --fast --flag 'pandoc:embed_data_files' --flag 'aeson:fast'
|
||||||
;;
|
;;
|
||||||
cabal)
|
cabal)
|
||||||
|
ulimit -n 4096
|
||||||
cabal --version
|
cabal --version
|
||||||
date
|
|
||||||
travis_retry cabal update
|
travis_retry cabal update
|
||||||
date
|
|
||||||
cabal install -j --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --ghc-options="-O0" --reorder-goals --max-backjumps=-1 $CABALARGS
|
cabal install -j --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --ghc-options="-O0" --reorder-goals --max-backjumps=-1 $CABALARGS
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -129,12 +128,11 @@ script:
|
||||||
stack --no-terminal $ARGS test --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="$OPTS"
|
stack --no-terminal $ARGS test --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="$OPTS"
|
||||||
;;
|
;;
|
||||||
cabal)
|
cabal)
|
||||||
date && \
|
ulimit -n 4096
|
||||||
cabal sdist --output-directory=sourcedist && \
|
cabal sdist --output-directory=sourcedist && \
|
||||||
cd sourcedist && \
|
cd sourcedist && \
|
||||||
cabal configure --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
|
cabal configure --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
|
||||||
cabal build && \
|
cabal build --ghc-options="$OPTS" && \
|
||||||
date && \
|
|
||||||
cabal test
|
cabal test
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue