Permalink
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (29 sloc) 1.04 KB
language: java
before_install:
- sudo apt-get update -qq
- sudo apt-get install build-essential
- mkdir protobuf_install
- pushd protobuf_install
- wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
- tar xzf protobuf-2.5.0.tar.gz
- cd protobuf-2.5.0
- ./configure
- make
- sudo make install
- sudo ldconfig
- protoc --version
- popd
- pwd
- sudo apt-get install -qq libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
- wget -nv http://archive.apache.org/dist/thrift/0.7.0/thrift-0.7.0.tar.gz
- tar zxf thrift-0.7.0.tar.gz
- cd thrift-0.7.0
- chmod +x ./configure
- ./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang
- sudo make install
- cd ..
env:
- HADOOP_PROFILE=default
- HADOOP_PROFILE=hadoop-2
install: mvn install --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true -Dsource.skip=true > mvn_install.log || cat mvn_install.log
script: mvn test -P $HADOOP_PROFILE