Factor out haskell-ci configuration
authorRyan Scott <ryan.gl.scott@gmail.com>
Tue, 12 Mar 2019 14:19:38 +0000 (10:19 -0400)
committerRyan Scott <ryan.gl.scott@gmail.com>
Tue, 12 Mar 2019 14:19:38 +0000 (10:19 -0400)
.travis.yml
cabal.haskell-ci [new file with mode: 0644]

index 742ac72..b90ce84 100644 (file)
@@ -152,5 +152,5 @@ script:
   # haddock
   - if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
 
-# REGENDATA ["-o",".travis.yml","--ghc-head","--irc-channel=irc.freenode.org#haskell-lens","--no-no-tests-no-bench","--no-unconstrained","--env=7.6.3:HADDOCK=false","--env=7.8.4:NOINSTALLEDCONSTRAINTS=true","cabal.project"]
+# REGENDATA ["--output=.travis.yml","--config=cabal.haskell-ci","cabal.project"]
 # EOF
diff --git a/cabal.haskell-ci b/cabal.haskell-ci
new file mode 100644 (file)
index 0000000..fdf7137
--- /dev/null
@@ -0,0 +1,6 @@
+ghc-head:               True
+no-tests-no-benchmarks: False
+irc-channels:           irc.freenode.org#haskell-lens
+unconstrained:          <7.8 || >=7.10
+-- Work around https://github.com/haskell/haddock/issues/242
+haddock:                <7.6 || >=7.8