You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by zi...@apache.org on 2019/06/17 07:17:14 UTC

[parquet-format] branch master updated: PARQUET-1590: Add Java 11 to Travis (#136)

This is an automated email from the ASF dual-hosted git repository.

zivanfi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-format.git


The following commit(s) were added to refs/heads/master by this push:
     new 4157b4c  PARQUET-1590: Add Java 11 to Travis (#136)
4157b4c is described below

commit 4157b4c6132086e318943f1898523f7dcb013f35
Author: Fokko Driesprong <fo...@apache.org>
AuthorDate: Mon Jun 17 09:17:10 2019 +0200

    PARQUET-1590: Add Java 11 to Travis (#136)
---
 .travis.yml | 12 ++++++++----
 pom.xml     |  5 +++++
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8aef761..0180244 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,14 +16,18 @@
 # under the License.
 
 language: java
+
+jdk:
+  - openjdk8
+  - openjdk11
+
 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 https://archive.apache.org/dist/thrift/0.12.0/thrift-0.12.0.tar.gz
-  - tar zxf thrift-0.12.0.tar.gz
-  - cd thrift-0.12.0
+  - wget -qO- https://archive.apache.org/dist/thrift/0.12.0/thrift-0.12.0.tar.gz | tar zxf -
+  - cd thrift-0.12.0/
   - chmod +x ./configure
-  - ./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang --without-php --without-nodejs
+  - ./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang --without-php --without-nodejs --without-java
   - sudo make install
   - cd ..
diff --git a/pom.xml b/pom.xml
index 0a83aad..89818c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -226,6 +226,11 @@
       <version>${thrift.version}</version>
     </dependency>
     <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <version>1.3.2</version>
+    </dependency>
+    <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>4.10</version>