From 785b5a4182191932e32bd514afe6291ec182e7a0 Mon Sep 17 00:00:00 2001 From: Kohei Suzuki Date: Tue, 14 Jan 2014 14:06:35 +0900 Subject: [PATCH] Work around https://github.com/simonmar/happy/issues/16 --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f1651cc..bb9d161 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,12 @@ before_install: install: - cabal-1.18 update - - cabal-1.18 install happy + # work around https://github.com/simonmar/happy/issues/16 + - if [ "$GHCVER" = '7.2.2' ]; then + sudo apt-get install happy; + else + cabal-1.18 install happy; + fi - export PATH=$HOME/.cabal/bin:$PATH - happy --version - cabal-1.18 install --only-dependencies --enable-tests