aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-21 22:20:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-21 22:20:54 -0700
commitd3df16889663dc95262e7a58fc5208f892304b30 (patch)
treeeb00bd46dd72fbb1fc584908c3c340638cc9cbea
parentf2dfb3f23bba8ff515ecb49e31a6caaf41903eca (diff)
downloadpandoc-d3df16889663dc95262e7a58fc5208f892304b30.tar.gz
Travis: use lts-9 with ghc 8.0.2 stack build. Remove swap stuff.
It didn't help.
-rw-r--r--.travis.yml7
1 files changed, 1 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index e0575cc3b..65414c85d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,7 +55,7 @@ matrix:
# The Stack builds. We can pass in arbitrary Stack arguments via the ARGS
# variable, such as using --stack-yaml to point to a different file.
- - env: BUILD=stack ARGS="--resolver lts-8" OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
+ - env: BUILD=stack ARGS="--resolver lts-9" OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
compiler: ": #stack 8.0.2"
addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
@@ -105,11 +105,6 @@ 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)