summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorhenrique <henrique@apache.org>2014-07-26 13:11:12 +0200
committerhenrique <henrique@apache.org>2014-07-26 13:11:12 +0200
commitc0a7d72c83d93cf266d57b25a3b8850eb81c47d6 (patch)
tree3cf4b5669b5495a16440a1cb6bd6a664c7ddbf5d /contrib
parent2591be279025eb3e4031a22ee2d68e10ceb416d2 (diff)
downloadthrift-c0a7d72c83d93cf266d57b25a3b8850eb81c47d6.tar.gz
THRIFT-2638 travis: build with Haskell
Patch: John Chee
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/installDependencies.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/installDependencies.sh b/contrib/installDependencies.sh
index ef76d2f55..343ea7e81 100755
--- a/contrib/installDependencies.sh
+++ b/contrib/installDependencies.sh
@@ -52,9 +52,10 @@ sudo apt-get install -qq erlang-base erlang-eunit erlang-dev
echo "golang-go golang-go/dashboard boolean false" | debconf-set-selections
sudo apt-get -y install -qq golang golang-go
-# Haskell dependencies TODO
-#sudo apt-get install -qq ghc cabal-install libghc-binary-dev libghc-network-dev libghc-http-dev libghc-hashable-dev libghc-unordered-containers-dev libghc-vector-dev
-#sudo cabal update
+# Haskell dependencies
+sudo add-apt-repository -y ppa:hvr/ghc
+sudo apt-get update
+sudo apt-get install cabal-install-1.20 ghc-$GHCVER
# Lua dependencies
sudo apt-get install -qq lua5.2 lua5.2-dev