forked from OpenHFT/Zero-Allocation-Hashing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 1.35 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: java
arch:
- amd64
- s390x
os: linux
dist: xenial
jdk:
- openjdk8 # LTS release
- openjdk11 # LTS release
- openjdk15 # latest non-LTS release
before_install:
- |
case "$(uname -m)" in
(amd64|x86_64) printf '\1' | od -dAn | grep 1 ;;
(s390x) printf '\1' | od -dAn | grep 256 ;;
(*) echo unknown arch; uname -m; exit 1 ;;
esac
install: true
script: ./mvnw install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
jobs:
include:
- arch: amd64
dist: trusty
jdk: openjdk7 # target release on little-endian machine
- arch: s390x
jdk: openjdk7 # target release on big-endian machine
install:
- wget -O ibmjdk7.bin -q -T 1 -t 1 https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/7.1.4.80/linux/s390x/ibm-java-sdk-7.1-4.80-s390x-archive.bin
- echo "c8d61c9e1bdcee9a332fd46e2799d48fdc8f4568cf59545066539003822962d0 ibmjdk7.bin" | sha256sum -c -
- chmod +x ibmjdk7.bin
- echo "INSTALLER_UI=silent" > response.properties
- echo "USER_INSTALL_DIR=$PWD/ibmjdk7" >> response.properties
- echo "LICENSE_ACCEPTED=TRUE" >> response.properties
- ./ibmjdk7.bin -i silent -f response.properties
- export PATH="$PWD/ibmjdk7/bin:$PATH"
- export JAVA_HOME="$PWD/ibmjdk7"
- java -version
cache:
directories:
- $HOME/.m2