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

index f292494..07ede06 100644 (file)
@@ -186,5 +186,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","--no-unconstrained","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..becc668
--- /dev/null
@@ -0,0 +1,2 @@
+ghc-head:      True
+unconstrained: False