You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by et...@apache.org on 2020/01/30 14:33:42 UTC

[storm] branch master updated: MINOR : Add s390x support for Travis (#3187)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new dc086fe  MINOR : Add s390x support for Travis (#3187)
dc086fe is described below

commit dc086fec06928cfc6da3efcdf2201c618b9683c6
Author: sangitanalkar <40...@users.noreply.github.com>
AuthorDate: Thu Jan 30 20:03:26 2020 +0530

    MINOR : Add s390x support for Travis (#3187)
---
 .travis.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 6e46704..901c5a7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,6 +32,12 @@ language: java
 jdk:
   - oraclejdk8
   - openjdk11
+  
+matrix:
+  include:
+    - arch: s390x
+      jdk: openjdk11
+      
 before_install:
   - rvm reload
   - rvm use 2.4.2 --install
@@ -46,9 +52,12 @@ before_install:
   - export MVN_HOME=$HOME/apache-maven-3.6.3
   - if [ ! -d $MVN_HOME/bin ]; then wget https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz -P $HOME; tar xzvf $HOME/apache-maven-3.6.3-bin.tar.gz -C $HOME; fi
   - export PATH=$MVN_HOME/bin:$PATH
+
 install: /bin/bash ./dev-tools/travis/travis-install.sh `pwd`
 script:
-  - /bin/bash ./dev-tools/travis/travis-script.sh `pwd` $MODULES
+  - if [[ $(uname -m) != 's390x' ]]; then 
+      /bin/bash ./dev-tools/travis/travis-script.sh `pwd` $MODULES;
+    fi
 cache:
   directories:
     - "$HOME/.m2/repository"