Adding s390x support in Travis (#237)

* Adding s390x support

* Remove jdk8 test for s390x

* We need to use scala

* Updating java installation steps for s390x build

Co-authored-by: Taro L. Saito <leo@xerial.org>
This commit is contained in:
Namrata Bhave 2020-06-26 08:22:48 +05:30 committed by GitHub
parent 0c097c2e6a
commit 5a750503cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 5 deletions

View File

@ -1,16 +1,31 @@
sudo: required
language: scala
matrix:
include:
- os: linux
jdk: openjdk8
- os: linux
jdk: openjdk11
- os: linux
jdk: openjdk11
arch: s390x
dist: bionic
services:
- docker
language: scala
scala:
- 2.12.8
jdk:
- openjdk8
- openjdk11
before_script:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
if [ "$TRAVIS_ARCH" = "s390x" ]; then
sudo apt-get install -y openjdk-11-jdk;
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-s390x && export PATH=$JAVA_HOME/bin:$PATH;
fi;
fi
script:
- ./script/travis-deploy.sh