git.iko.soy/typeable/pandoc
on master help sign in
travis: create some swap space.

This may help with regex-tdfa build failures...

commitc462fcafef1613164ea07c18c5301908ea8ad52d authorJohn MacFarlane <jgm@berkeley.edu> dateMon 21 Aug 2017, 21:24 (9 years ago) parent6cba21b
1 file changed+5
.travis.yml+5
.travis.yml+5
@@ -105,6 +105,11 @@ install:
105105 case "$BUILD" in
106106 stack)
107107 ulimit -n 4096
108+ # create some swap because regex-tdfa needs lots of memory
109+ # to compile; see https://github.com/snoyberg/keter/issues/76
110+ dd if=/dev/zero of=/tmp/swap bs=1M count=1024
111+ mkswap /tmp/swap
112+ swapon /tmp/swap
108113 stack --no-terminal --install-ghc $ARGS test --flag 'aeson:fast' --only-dependencies --fast --flag pandoc:embed_data_files --test
109114 ;;
110115 cabal)