Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (30 sloc) 1.581 kb
language: java
jdk:
- openjdk7
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq protobuf-compiler
- 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 ..
- sudo apt-get -qq install lzop liblzo2-dev # libzo2-dev for compiling hadoop-lzo
- git clone git://github.com/twitter/hadoop-lzo.git # for native libgplcompression
- cd hadoop-lzo
- git checkout master
- mvn compile
- mv target/native/Linux-* ../hadoop-lzo-native
- cd ..
script:
- echo ============ Build and test with hadoop2 profile =====================
- mvn clean test -Dtest.library.path=$PWD/hadoop-lzo-native/lib -Drequire.lzo.tests=true -P hadoop2
- echo ============ Build with hadoop2 and test with hadoop1 ================
- mvn test -Dtest.library.path=$PWD/hadoop-lzo-native/lib -Drequire.lzo.tests=true -P hadoop1
- echo ============ Build and test with hadoop1 profile =====================
- mvn clean test -Dtest.library.path=$PWD/hadoop-lzo-native/lib -Drequire.lzo.tests=true -P hadoop1
- echo ============ Build with hadoop2 and test with hadoop1 ================
- mvn test -Dtest.library.path=$PWD/hadoop-lzo-native/lib -Drequire.lzo.tests=true -P hadoop2
Jump to Line
Something went wrong with that request. Please try again.