henrique | ac8d8e2 | 2014-07-23 23:31:04 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Licensed to the Apache Software Foundation (ASF) under one |
| 4 | # or more contributor license agreements. See the NOTICE file |
| 5 | # distributed with this work for additional information |
| 6 | # regarding copyright ownership. The ASF licenses this file |
| 7 | # to you under the Apache License, Version 2.0 (the |
| 8 | # "License"); you may not use this file except in compliance |
| 9 | # with the License. You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, |
| 14 | # software distributed under the License is distributed on an |
| 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | # KIND, either express or implied. See the License for the |
| 17 | # specific language governing permissions and limitations |
| 18 | # under the License. |
| 19 | |
| 20 | SCRIPTPATH=$( cd $(dirname $0) ; pwd -P ) |
| 21 | |
| 22 | # Mainly aiming Travis CI's Ubuntu machines for now |
| 23 | # see what we need: http://thrift.apache.org/docs/install/ubuntu |
| 24 | |
| 25 | # General dependencies |
| 26 | sh ${SCRIPTPATH}/installCXXDependencies.sh |
| 27 | |
| 28 | # Java dependencies |
| 29 | sudo apt-get install -qq ant openjdk-7-jdk |
| 30 | sudo update-java-alternatives -s java-1.7.0-openjdk-amd64 |
| 31 | |
| 32 | # Python dependencies |
| 33 | sudo apt-get install -qq python-all python-all-dev python-all-dbg python-setuptools python-support |
| 34 | |
| 35 | # Ruby dependencies |
| 36 | sudo apt-get install -qq ruby ruby-dev |
| 37 | sudo gem install bundler rake |
| 38 | |
| 39 | # Perl dependencies |
| 40 | sudo apt-get install -qq libbit-vector-perl libclass-accessor-class-perl |
| 41 | |
| 42 | # Php dependencies |
| 43 | sudo apt-get install -qq php5 php5-dev php5-cli php-pear re2c |
| 44 | |
| 45 | # GlibC dependencies |
| 46 | sudo apt-get install -qq libglib2.0-dev |
| 47 | |
| 48 | # Erlang dependencies |
| 49 | sudo apt-get install -qq erlang-base erlang-eunit erlang-dev |
| 50 | |
| 51 | # GO dependencies |
| 52 | echo "golang-go golang-go/dashboard boolean false" | debconf-set-selections |
| 53 | sudo apt-get -y install -qq golang golang-go |
| 54 | |
henrique | c0a7d72 | 2014-07-26 13:11:12 +0200 | [diff] [blame^] | 55 | # Haskell dependencies |
| 56 | sudo add-apt-repository -y ppa:hvr/ghc |
| 57 | sudo apt-get update |
| 58 | sudo apt-get install cabal-install-1.20 ghc-$GHCVER |
henrique | ac8d8e2 | 2014-07-23 23:31:04 +0200 | [diff] [blame] | 59 | |
| 60 | # Lua dependencies |
| 61 | sudo apt-get install -qq lua5.2 lua5.2-dev |
| 62 | |
| 63 | # Node.js dependencies |
| 64 | sudo apt-get install -qq nodejs nodejs-dev npm |
| 65 | sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10 |
| 66 | |
| 67 | # CSharp |
| 68 | sudo apt-get install -qq mono-gmcs mono-devel libmono-system-web2.0-cil |
| 69 | sudo apt-get install -qq mingw32 mingw32-binutils mingw32-runtime |