forked from mp911de/logstash-gelf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (34 loc) · 1.18 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
language: java
dist: trusty
group: edge
env:
- MAVEN_SKIP_RC=true
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.m2/wrapper'
matrix:
include:
- jdk: oraclejdk8
# Java 9 (openjdk-9.0.1 fails with java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty)
- jdk: oraclejdk9
env: JDK_RELEASE='Oracle JDK 9'
# Java 11
- env: JDK_RELEASE='Oracle JDK 11'
install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 11 -l GPL
# Java 13
- env: JDK_RELEASE='Oracle JDK 13'
install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 13 -l GPL
before_install:
- src/test/bash/create_certificates.sh
install: make travis-install
script: make test
after_success:
- test "${JDK_RELEASE}" = "Oracle JDK 9" && bash <(curl -s https://codecov.io/bash) || true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/2f7029afba496c449d7d
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false