aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 35d74d1..1448588 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,8 @@ install:
- echo $PATH
- which cabal
- cabal install -j --only-dependencies --enable-tests
+ - if [ -n "$(ghc --version | awk '{ print $8 }' | sed -n '/^7.4/p')" ]; then cabal install Cabal --constraint "Cabal == 1.16.*"; fi
+
script:
- touch ChangeLog # Create ChangeLog if we're not on the release branch