language: java
sudo: false

addons:
  apt:
    packages:
      - thrift-compiler

language: java

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
  - wget http://www.us.apache.org/dist/thrift/0.9.1/thrift-0.9.1.tar.gz
  - tar xfz thrift-0.9.1.tar.gz
  - cd thrift-0.9.1 && ./configure && sudo make install

Build the thrift compiler as a before_script
Build the thrift compiler as a before_script
