Fix tests for 7.8

This commit is contained in:
Daniel Gröber 2015-04-29 10:10:18 +02:00
parent 192fc220cc
commit ea03f8a935

View File

@ -10,7 +10,7 @@ install:
# - ( $CABAL122 && cabal install cabal-install --constraint "Cabal >= 1.22" && ghc-pkg unregister Cabal ) || true # - ( $CABAL122 && cabal install cabal-install --constraint "Cabal >= 1.22" && ghc-pkg unregister Cabal ) || true
- echo $PATH - echo $PATH
- which cabal - 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 - cabal install happy
- happy --version - happy --version
- cabal install -j --only-dependencies --enable-tests --constraint "tagged < 0.8" - cabal install -j --only-dependencies --enable-tests --constraint "tagged < 0.8"