mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 17:56:32 +00:00
travis: create some swap space.
This may help with regex-tdfa build failures...
This commit is contained in:
@@ -105,6 +105,11 @@ install:
|
||||
case "$BUILD" in
|
||||
stack)
|
||||
ulimit -n 4096
|
||||
# create some swap because regex-tdfa needs lots of memory
|
||||
# to compile; see https://github.com/snoyberg/keter/issues/76
|
||||
dd if=/dev/zero of=/tmp/swap bs=1M count=1024
|
||||
mkswap /tmp/swap
|
||||
swapon /tmp/swap
|
||||
stack --no-terminal --install-ghc $ARGS test --flag 'aeson:fast' --only-dependencies --fast --flag pandoc:embed_data_files --test
|
||||
;;
|
||||
cabal)
|
||||
|
||||
Reference in New Issue
Block a user