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

index 6723877..9183a4b 100644 (file)
@@ -148,5 +148,5 @@ script:
   # Build without installed constraints for packages in global-db
   - if $UNCONSTRAINED; then rm -f cabal.project.local; echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks all; else echo "Not building without installed constraints"; fi
 
-# REGENDATA ["-o",".travis.yml","--ghc-head","--env=7.0.4:NOINSTALLEDCONSTRAINTS=true TEST=--disable-tests BENCH=--disable-benchmarks","--env=7.2.2:TEST=--disable-tests BENCH=--disable-benchmarks","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..0f2da14
--- /dev/null
@@ -0,0 +1,4 @@
+ghc-head:      True
+tests:         >=7.4
+benchmarks:    >=7.4
+unconstrained: >=7.2