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:
parent
0c097c2e6a
commit
5a750503cd
25
.travis.yml
25
.travis.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue