zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eolive...@apache.org
Subject [zookeeper] branch master updated: ZOOKEEPER-3919: Added ARM64 support to Travis-CI
Date Thu, 31 Dec 2020 08:46:31 GMT
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 <odidev@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 <odidev@puresoftware.com>
    
    Reviewers: Enrico Olivelli<eolivelli@apache.org>, Damien Diederen <ddiederen@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:


Mime
View raw message