-
Notifications
You must be signed in to change notification settings - Fork 178
/
.travis.yml
45 lines (44 loc) · 1.61 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# See this guide for more settings:
#
# http://about.travis-ci.org/docs/user/build-configuration/
language: clojure
lein: lein2
script: JVM_OPTS="-Djava.library.path=$PWD/hadoop-lzo-native/lib" lein2 sub with-profile dev,provided test
before_install:
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- cat /etc/hosts # optionally check the content *after*
- lein2 sub 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 ..
env:
- C_INCLUDE_PATH=/usr/include/lzo LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
branches:
only:
- develop
- master
jdk:
- openjdk6
cache:
directories:
- $HOME/.m2
notifications:
email:
- sritchie09@gmail.com
- paul@quantisan.com