This commit is contained in:
Kohei Suzuki 2014-01-14 14:06:35 +09:00
parent 0435273058
commit 785b5a4182
1 changed files with 6 additions and 1 deletions

View File

@ -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