You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by eo...@apache.org on 2020/12/31 08:46:31 UTC

[zookeeper] branch master updated: ZOOKEEPER-3919: Added ARM64 support to Travis-CI

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

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 701e134  ZOOKEEPER-3919: Added ARM64 support to Travis-CI
701e134 is described below

commit 701e134dfba721356deac1a20aa80e94ec80484a
Author: odidev <od...@puresoftware.com>
AuthorDate: Thu Dec 31 09:46:09 2020 +0100

    ZOOKEEPER-3919: Added ARM64 support to Travis-CI
    
    1. Added ARM64 support with jdk 11
    2. Installed maven if architecture is ARM64
    
    Signed-off-by: odidev <odidevpuresoftware.com>
    
    Author: odidev <od...@puresoftware.com>
    
    Reviewers: Enrico Olivelli<eo...@apache.org>, Damien Diederen <dd...@apache.org>, Christopher Tubbs, Martin Grigorov
    
    Closes #1433 from odidev/zookeeper_ARM64
---
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 8fbd931..4401b55 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,9 @@ matrix:
     - os: linux
       jdk: openjdk11
     - os: linux
+      arch: arm64
+      jdk: openjdk11
+    - os: linux
       arch: s390x
       jdk: openjdk11
       addons:
@@ -25,6 +28,11 @@ addons:
     packages:
     - libcppunit-dev
 
+install:
+  - if [ "${TRAVIS_CPU_ARCH}" == "arm64" ]; then
+     sudo apt-get install maven;
+    fi
+
 script: mvn clean apache-rat:check verify -DskipTests spotbugs:check checkstyle:check -Pfull-build
 
 branches: