Skip to content

Commit 64af9cd

Browse files
author
Gabor Szadovszky
committed
PARQUET-1275: Travis fails on branch 1.8.x
Use jdk7 to build 1.8 Corrected protobuf download link to github.com Additional workaround for protobuf build Skip the failing php and nodejs modules of thrift build
1 parent d59b32a commit 64af9cd

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
language: java
2+
jdk: openjdk7
23
before_install:
34
- sudo apt-get update -qq
45
- sudo apt-get install build-essential
56
- mkdir protobuf_install
67
- pushd protobuf_install
7-
- wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
8+
- wget https://github.com/google/protobuf/archive/v2.5.0.tar.gz -O protobuf-2.5.0.tar.gz
89
- tar xzf protobuf-2.5.0.tar.gz
9-
- cd protobuf-2.5.0
10+
- cd protobuf-2.5.0
11+
- sudo apt-get install autoconf automake libtool curl make g++ unzip
12+
# Getting gtest before executing autogen.sh as it contains invalid link to googlecode.com
13+
- wget https://github.com/google/googletest/archive/release-1.5.0.tar.gz
14+
- tar xzf release-1.5.0.tar.gz
15+
- mv googletest-release-1.5.0 gtest
16+
- ./autogen.sh
1017
- ./configure
1118
- make
1219
- sudo make install
@@ -19,7 +26,7 @@ before_install:
1926
- tar zxf thrift-0.7.0.tar.gz
2027
- cd thrift-0.7.0
2128
- chmod +x ./configure
22-
- ./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang
29+
- ./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang --without-php --without-nodejs
2330
- sudo make install
2431
- cd ..
2532

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Parquet-MR uses Maven to build and depends on both the thrift and protoc compile
3535
To build and install the protobuf compiler, run:
3636

3737
```
38-
wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
38+
wget https://github.com/google/protobuf/archive/v2.5.0.tar.gz -O protobuf-2.5.0.tar.gz
3939
tar xzf protobuf-2.5.0.tar.gz
4040
cd protobuf-2.5.0
4141
./configure

0 commit comments

Comments
 (0)