From ea03f8a935d82cfd4a5af58dd5be5ef6e4741dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Wed, 29 Apr 2015 10:10:18 +0200 Subject: [PATCH] Fix tests for 7.8 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e8fd54e..9c9d3bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ install: # - ( $CABAL122 && cabal install cabal-install --constraint "Cabal >= 1.22" && ghc-pkg unregister Cabal ) || true - echo $PATH - which cabal -# - cabal install Cabal --constraint "Cabal == $(cabal --version | grep 'Cabal library' | awk '{ print $3 }' | tail -n1)" + - if [ -n "$(cabal --version | grep 'Cabal library' | awk '{ print $3 }' | tail -n1 | sed -n '/^1.18/p')" ]; then cabal install cabal-install --constraint "Cabal == 1.18.* && > 1.18.0"; fi - cabal install happy - happy --version - cabal install -j --only-dependencies --enable-tests --constraint "tagged < 0.8"