diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-21 21:24:21 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-21 21:24:21 -0700 |
commit | c462fcafef1613164ea07c18c5301908ea8ad52d (patch) | |
tree | 861c64907d3d65631f9ec0e687c5bd44b97d695f | |
parent | 6cba21b4d307408e6ff44de495727fad89cd3069 (diff) | |
download | pandoc-c462fcafef1613164ea07c18c5301908ea8ad52d.tar.gz |
travis: create some swap space.
This may help with regex-tdfa build failures...
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 7ba7bf45a..e0575cc3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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) |