[travis-ci] cabal update before installing happy

This commit is contained in:
Benno Fünfstück 2013-12-23 14:06:57 +01:00
parent 08f24690ef
commit 14fa49762b

View File

@ -7,11 +7,11 @@ before_install:
- sudo add-apt-repository -y ppa:hvr/ghc
- sudo apt-get update
- sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER hlint
- cabal-$CABALVER update
- cabal-$CABALVER install happy -j
- export PATH=/opt/ghc/$GHCVER/bin:~/.cabal/bin:$PATH
install:
- cabal-$CABALVER update
- cabal-$CABALVER install --only-dependencies --enable-tests --enable-benchmarks -j
script: