Skip to content
This repository was archived by the owner on Jul 9, 2021. It is now read-only.

Build and test on both AMD64 and ARM64 #90

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ sudo: true
language: java
jdk:
- oraclejdk8

jobs:
include:
- name: "Linux ARM64"
arch: arm64
env: TEST_TASK=unitTest



services:
- docker
env:
Expand Down Expand Up @@ -61,6 +70,14 @@ before_install:
./src/scripts/thirdpartytest/start-thirdpartytest-db-containers.sh oracle;
sleep 90;
fi

install:
- if [ "${TRAVIS_CPU_ARCH}" == "arm64" ]; then
sudo apt-get -m install openjdk-8-jdk;
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-arm64;
export PATH=$JAVA_HOME/bin:$PATH;
fi

script:
- ./gradlew $TEST_TASK;
before_cache:
Expand Down