You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ap...@apache.org on 2021/03/30 11:38:33 UTC
[parquet-format] branch master updated: PARQUET-1969: Test by
GithubAction (#166)
This is an automated email from the ASF dual-hosted git repository.
apitrou 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 f1bcb38 PARQUET-1969: Test by GithubAction (#166)
f1bcb38 is described below
commit f1bcb38d1ec140db0b376f518ca2756a5eeb663d
Author: Gabor Szadovszky <ga...@apache.org>
AuthorDate: Tue Mar 30 13:38:24 2021 +0200
PARQUET-1969: Test by GithubAction (#166)
---
.github/workflows/test.yml | 56 ++++++++++++++++++++++++++++++++++++++++++++++
.travis.yml | 33 ---------------------------
README.md | 2 +-
3 files changed, 57 insertions(+), 34 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..da631c0
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,56 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Test
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ java: [ '1.8', '11' ]
+ name: Build Parquet with JDK ${{ matrix.java }}
+
+ steps:
+ - uses: actions/checkout@master
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: before_install
+ run: |
+ 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 -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-csharp --without-dotnetcore --without-erlang \
+ --without-haskell --without-java --without-nodejs \
+ --without-php --without-rs --without-ruby
+ sudo make install
+ - name: install
+ run: |
+ mvn install --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true -Dsource.skip=true -Djava.version=${{ matrix.java }}
+ - name: verify
+ run: |
+ mvn verify --batch-mode javadoc:javadoc
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0180244..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# 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 -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 --without-java
- - sudo make install
- - cd ..
diff --git a/README.md b/README.md
index 85ef6d6..15fc427 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@
- under the License.
-->
-# Parquet [![Build Status](https://travis-ci.org/apache/parquet-format.png?branch=master)](http://travis-ci.org/apache/parquet-format)
+# Parquet [![Build Status](https://github.com/apache/parquet-format/actions/workflows/test.yml/badge.svg)](https://github.com/apache/parquet-format/actions)
Parquet is a columnar storage format that supports nested data.