forked from schnapster/Magma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (50 loc) · 1.3 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
51
52
53
54
55
56
57
58
59
language: java
addons:
sonarcloud:
organization: "napstr-github"
env:
global:
- BUILD_NUMBER: "$TRAVIS_BUILD_NUMBER"
cache:
directories:
- "$HOME/.m2"
- "$HOME/.gradle"
- ".gradle/wrapper"
- ".gradle/caches"
- "$HOME/.sonar/cache"
stages:
- build & test
- sonar
jobs:
fast_finish: true
allow_failures:
- jdk: openjdk-ea
- jdk: oraclejdk-ea
include:
- stage: build & test
jdk: openjdk10
script:
- "java -Xmx32m -version"
- "./gradlew build --info"
- stage: build & test
jdk: oraclejdk10
script:
- "java -Xmx32m -version"
- "./gradlew build --info"
- stage: build & test
jdk: openjdk-ea
script:
- "java -Xmx32m -version"
- "./gradlew build -x test --info" #tests skipped due to jacoco incompatibility, watch https://github.com/jacoco/jacoco/issues/663
- stage: build & test
jdk: oraclejdk-ea
script:
- "java -Xmx32m -version"
- "./gradlew build -x test --info" #tests skipped due to jacoco incompatibility, watch https://github.com/jacoco/jacoco/issues/663
- stage: sonar
jdk: openjdk10
before_script:
#for full sonar cloud blame information
- "git fetch --unshallow"
script:
- "./gradlew sonarqube"