travis: create some swap space.
This may help with regex-tdfa build failures...
This commit is contained in:
parent
6cba21b4d3
commit
c462fcafef
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue