git.iko.soy/typeable/pandoc
on master help sign in
Travis: do a stack build with lts-9. Use system ghc.
commitbbf1192b86547710adaa306811ecc2aa557702de authorJohn MacFarlane <jgm@berkeley.edu> dateWed 27 Dec 2017, 23:41 (9 years ago) parent64b72e6
1 file changed+6
.travis.yml+6
.travis.yml+6
@@ -61,6 +61,10 @@ matrix:
6161
6262 # The Stack builds. We can pass in arbitrary Stack arguments via the ARGS
6363 # variable, such as using --stack-yaml to point to a different file.
64+ - env: BUILD=stack ARGS="--stack-yaml stack.lts9.yaml" OPTS="-Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
65+ compiler: ": #stack 8.0.2"
66+ addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
67+
6468 - env: BUILD=stack ARGS="--resolver lts-10" OPTS="-Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
6569 compiler: ": #stack 8.2.2"
6670 addons: {apt: {packages: [ghc-8.2.2], sources: [hvr-ghc]}}
@@ -107,6 +111,7 @@ install:
107111 case "$BUILD" in
108112 stack)
109113 ulimit -n 4096
114+ stack config set system-ghc --global true
110115 stack --no-terminal --install-ghc $ARGS build --only-dependencies --fast --flag 'pandoc:embed_data_files' --flag 'aeson:fast' --jobs 2
111116 ;;
112117 cabal)
@@ -121,6 +126,7 @@ script:
121126 case "$BUILD" in
122127 stack)
123128 ulimit -n 4096
129+ stack config set system-ghc --global true
124130 stack --no-terminal $ARGS test --fast --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="$OPTS"
125131 ;;
126132 cabal)