-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
33 lines (31 loc) · 883 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
33
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"
before_install:
- gem install bundler jekyll html-proofer
#script: mvn -fae -U -B clean install -Pwith-docs -Pcheck
script: mvn -fae -U -B clean install -Pcheck
after_success:
- chmod +x .travis/deploy-docs.sh && .travis/deploy-docs.sh
- curl -Ls https://git.io/deploy-maven-snapshot | bash
env:
global:
- SNAPSHOT_BRANCH: "version/v3.x"
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # gh-pages: speeds up installation of html-proofer
cache:
directories:
- $HOME/.m2
notifications:
irc:
channels:
- chat.freenode.net#52north
on_failure: always