You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2020/05/10 01:37:17 UTC
[arrow] branch master updated: ARROW-8753: [CI][C++] Add a test job
for ARM
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new ed5f534 ARROW-8753: [CI][C++] Add a test job for ARM
ed5f534 is described below
commit ed5f534c545a5c9c9ea214359dfd4c2a62300f59
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Sun May 10 10:36:47 2020 +0900
ARROW-8753: [CI][C++] Add a test job for ARM
Closes #7141 from kou/cpp-ci-arm64
Authored-by: Sutou Kouhei <ko...@clear-code.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
.travis.yml | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 71925ac..0a19cde 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,6 +19,10 @@ dist: bionic
language: minimal
+cache:
+ directories:
+ - $TRAVIS_BUILD_DIR/.docker
+
addons:
apt:
packages:
@@ -29,6 +33,14 @@ services:
jobs:
include:
+ - name: "C++ on ARM"
+ os: linux
+ arch: arm64
+ env:
+ ARCH: arm64v8
+ ARROW_CI_MODULES: "CPP"
+ DOCKER_IMAGE_ID: ubuntu-cpp
+ UBUNTU: "20.04"
- name: "C++ on s390x"
os: linux
arch: s390x
@@ -64,7 +76,7 @@ before_install:
arrow_ci_affected=no
for arrow_ci_module in ${ARROW_CI_MODULES}; do
arrow_ci_affected_variable=ARROW_CI_${arrow_ci_module}_AFFECTED
- if [ "$(eval 'echo ${arrow_ci_affected_variable}')" != "1" ]; then
+ if [ "$(eval "echo \$${arrow_ci_affected_variable}")" = "1" ]; then
arrow_ci_affected=yes
fi
done
@@ -101,4 +113,7 @@ script:
after_success:
- |
- archery docker push ${DOCKER_IMAGE_ID} || :
+ if [ "${TRAVIS_EVENT_TYPE}" = "push" -a \
+ "${TRAVIS_REPO_SLUG}" = "apache/arrow" ]; then
+ archery docker push ${DOCKER_IMAGE_ID} || :
+ fi