From 75b838bab6a6d09cc22398df65eebefa843ff964 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Fri, 4 Jul 2014 13:00:21 +0900 Subject: [PATCH] install happy by apt-get. --- .travis.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95003d6..d6da67d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,21 +6,11 @@ env: before_install: - sudo add-apt-repository -y ppa:hvr/ghc - sudo apt-get update - - sudo apt-get install cabal-install-1.18 ghc-$GHCVER - - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/1.18/bin:$PATH - - which ghc - - ghc --version - - which ghci - - ghci --version - - which cabal - - cabal --version + - sudo apt-get install cabal-install-1.18 ghc-$GHCVER happy-1.19.3 + - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/1.18/bin:/opt/happy/1.19.3/bin:$PATH install: - cabal update - - mkdir sandbox - - (cd sandbox; cabal sandbox init; cabal install happy) - - export PATH=$PWD/.cabal-sandbox/bin:$PATH - - happy --version - cabal install --only-dependencies --enable-tests script: