Skip to content

Commit e401cfa

Browse files
author
Fokko Driesprong
committed
[PARQUET-1499] Enable JDK11 build
1 parent e9c2837 commit e401cfa

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ language: java
22
before_install:
33
- bash dev/travis-before_install.sh
44

5+
jdk:
6+
- openjdk8
7+
- openjdk11
8+
9+
matrix:
10+
allow_failures:
11+
- jdk: openjdk11
12+
513
env:
614
- HADOOP_PROFILE=default TEST_CODECS=uncompressed,brotli
715
- HADOOP_PROFILE=default TEST_CODECS=gzip,snappy

dev/Dockerfile

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# Dockerfile for installing the necessary dependencies for building Avro.
18+
# See BUILD.txt.
19+
20+
FROM java:8-jdk
21+
22+
RUN apt-get update -qq && \
23+
apt-get install -qq build-essential pv autoconf automake libtool curl make \
24+
g++ unzip libboost-dev libboost-test-dev libboost-program-options-dev \
25+
libevent-dev automake libtool flex bison pkg-config g++ libssl-dev xmlstarlet \
26+
apt-get clean
27+
28+
RUN wget -nv http://archive.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz && \
29+
tar zxf thrift-0.9.3.tar.gz && \
30+
cd thrift-0.9.3 && \
31+
chmod +x ./configure && \
32+
./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell \
33+
--without-erlang --without-php --without-nodejs && \
34+
make install
35+
36+
ADD . /parquet/
37+
38+
WORKDIR /parquet/
39+
40+
RUN mvn install --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true -Dsource.skip=true

0 commit comments

Comments
 (0)