mirror of
https://github.com/xerial/snappy-java.git
synced 2025-04-08 19:35:08 +02:00
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
|
sudo: required
|
||||||
|
|
||||||
|
language: scala
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: linux
|
||||||
|
jdk: openjdk8
|
||||||
|
- os: linux
|
||||||
|
jdk: openjdk11
|
||||||
|
- os: linux
|
||||||
|
jdk: openjdk11
|
||||||
|
arch: s390x
|
||||||
|
dist: bionic
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
language: scala
|
|
||||||
|
|
||||||
scala:
|
scala:
|
||||||
- 2.12.8
|
- 2.12.8
|
||||||
|
|
||||||
jdk:
|
before_script:
|
||||||
- openjdk8
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||||
- openjdk11
|
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:
|
||||||
- ./script/travis-deploy.sh
|
- ./script/travis-deploy.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user