-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (43 loc) · 2.12 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
49
50
#
# Check configuration online:
# https://lint.travis-ci.org
language: java
sudo: required
cache:
directories:
- $HOME/.m2
script:
- set -e
- mvn -Pqulice clean install
- mvn -Psonar sonar:sonar -Dsonar.organization=dgroup-github -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONAR_LOGIN}
env:
global:
- MAVEN_OPTS="-Xmx256m"
- JAVA_OPTS="-Xmx256m"
jdk:
- openjdk8
# - openjdk11
# - openjdk-ea
# @todo #/DEV Activate JDK11, 12 for CI process.addons:
# For now its disabled due to 'https://travis-ci.org/dgroup/tagyml/jobs/579535606'
# Exception in thread "main" java.lang.reflect.InvocationTargetException
# at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
# at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
# at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
# at java.base/java.lang.reflect.Method.invoke(Method.java:566)
# at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
# at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
# Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
# at org.jacoco.agent.rt.internal_8ff85ea.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140)
# at org.jacoco.agent.rt.internal_8ff85ea.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101)
# FATAL ERROR in native method: processing of -javaagent failed
# at org.jacoco.agent.rt.internal_8ff85ea.PreMain.createRuntime(PreMain.java:55)
# at org.jacoco.agent.rt.internal_8ff85ea.PreMain.premain(PreMain.java:47)
# ... 6 more
# Caused by: java.lang.NoSuchFieldException: $jacocoAccess
# at java.base/java.lang.Class.getField(Class.java:2000)
# at org.jacoco.agent.rt.internal_8ff85ea.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
# ... 9 more
# Aborted (core dumped)
after_success:
- "bash <(curl -s https://codecov.io/bash)"