Skip to content

Apache DataFusion SQL Query Engine

ARROW-2299: [Go] Import Go arrow implementation from influxdata/arrow

Stuart Carnie89e2479ef1ca
diff --git a/.travis.yml b/.travis.yml
index b1241e793b..03bc8e26ae 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,6 +56,8 @@ matrix:
- CC="clang-5.0"
- CXX="clang++-5.0"
before_script:
+ # Always run RAT checks, in case another build in matrix breaks RAT
+ - $TRAVIS_BUILD_DIR/ci/travis_release_audit.sh
# (ARROW_CI_CPP_AFFECTED implies ARROW_CI_PYTHON_AFFECTED)
- if [ $ARROW_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
- $TRAVIS_BUILD_DIR/ci/travis_install_linux.sh
diff --git a/ci/travis_release_audit.sh b/ci/travis_release_audit.sh
new file mode 100755
index 0000000000..8da71a09cf
--- /dev/null
+++ b/ci/travis_release_audit.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+# 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.
+
+set -e
+
+# Check licenses according to Apache policy
+git archive HEAD --prefix=apache-arrow/ --output=arrow-src.tar.gz
+./dev/release/run-rat.sh arrow-src.tar.gz
diff --git a/ci/travis_script_cpp.sh b/ci/travis_script_cpp.sh
index 3d61bc5b89..27ab88ba91 100755
--- a/ci/travis_script_cpp.sh
+++ b/ci/travis_script_cpp.sh
@@ -21,10 +21,6 @@ set -e
source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
-# Check licenses according to Apache policy
-git archive HEAD --prefix=apache-arrow/ --output=arrow-src.tar.gz
-./dev/release/run-rat.sh arrow-src.tar.gz
-
pushd $CPP_BUILD_DIR
ctest -VV -L unittest
diff --git a/dev/release/rat_exclude_files.txt b/dev/release/rat_exclude_files.txt
index bf962bcd49..eb735604fd 100644
--- a/dev/release/rat_exclude_files.txt
+++ b/dev/release/rat_exclude_files.txt
@@ -39,6 +39,11 @@ cpp/src/plasma/thirdparty/dlmalloc.c
cpp/src/plasma/thirdparty/xxhash.cc
cpp/src/plasma/thirdparty/xxhash.h
dev/release/rat_exclude_files.txt
+go/arrow/Gopkg.lock
+go/arrow/internal/cpu/*
+go/arrow/type_string.go
+go/*.tmpldata
+go/*.s
js/.npmignore
js/closure-compiler-scripts/*
python/cmake_modules