This is an automated email from the ASF dual-hosted git repository.
mmoayyed pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new c0433eb NOJIRA - Switch Travis CI to AMD64 Bionic Distro (#182)
c0433eb is described below
commit c0433eb248ae43f9950bd40514d07f3ee4acbb60
Author: Misagh Moayyed <[email protected]>
AuthorDate: Tue May 5 17:38:06 2020 +0430
NOJIRA - Switch Travis CI to AMD64 Bionic Distro (#182)
---
.travis.yml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index bf5c102..a519050 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,8 @@
language: java
os: linux
-dist: trusty
+dist: bionic
+arch: amd64
jdk:
- openjdk11
cache:
@@ -32,6 +33,8 @@ env:
- DBMS=H2
- jaxrsContentType=application/json
- TestCommand="mvn -U -T 1C clean test -Dinvoker.streamLogs=true
-Dmodernizer.skip=true -Dianal.skip=true -Drat.skip=true -Dcheckstyle.skip=true
-Dsass.skip=true"
+before_install:
+- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh -O
~/install-jdk.sh && chmod +x ~/install-jdk.sh
install: true
notifications:
email:
@@ -57,14 +60,14 @@ jobs:
- stage: test
name: "Unit Tests via JDK 14"
script:
- - ~/bin/install-jdk.sh --target "/home/travis/openjdk14" --workspace
"/home/travis/.cache/install-jdk" --feature "14" --license "GPL" --cacerts
+ - ~/install-jdk.sh --target "/home/travis/openjdk14" --workspace
"/home/travis/.cache/install-jdk" --feature "14" --license "GPL" --cacerts
- export JAVA_HOME=~/openjdk14
- export PATH="$JAVA_HOME/bin:$PATH"
- eval $TestCommand
- stage: test
name: "Unit Tests via JDK 15"
script:
- - ~/bin/install-jdk.sh --target "/home/travis/openjdk15" --workspace
"/home/travis/.cache/install-jdk" --feature "15" --license "GPL" --cacerts
+ - ~/install-jdk.sh --target "/home/travis/openjdk15" --workspace
"/home/travis/.cache/install-jdk" --feature "15" --license "GPL" --cacerts
- export JAVA_HOME=~/openjdk15
- export PATH="$JAVA_HOME/bin:$PATH"
- eval $TestCommand