-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
32 lines (31 loc) · 962 Bytes
/
.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
language: java
dist: xenial
jdk:
- openjdk8
- openjdk11
matrix:
include:
# https://www.deps.co/guides/travis-ci-latest-java/#certificate-issues
- jdk: openjdk15
before_install:
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
# notice:check is disabled because build with JDK > 8 ignores excludes
#script: mvn -fae -U -B clean license:check notice:check install -P check
script: mvn -fae -U -B clean license:check install -P check
after_success:
- chmod +x .travis/deploy-docs.sh && .travis/deploy-docs.sh
- curl -Ls https://git.io/deploy-maven-snapshot | bash
# start dependend builds
- curl -Ls https://git.io/trigger-build | bash -s -- 52North/dao-series-api "version/v3.x"
env:
global:
- SNAPSHOT_BRANCH=develop
cache:
directories
- $HOME/.m2
notifications:
irc:
channels:
- "chat.freenode.net#52north"
on_failure: always