-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
45 lines (38 loc) · 1.57 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
language: java
os: linux
dist: jammy
arch: amd64
cache:
directories:
- $HOME/.m2/repository
jobs:
include:
- name: OpenJDK 8
addons:
apt:
packages:
- openjdk-8-jdk-headless
env:
- JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- PATH=$JAVA_HOME/bin:$PATH
- name: OpenJDK 11
jdk: openjdk11
- name: OpenJDK 17
jdk: openjdk17
- name: OpenJDK 21
jdk: openjdk21
# Travis CI adds additional repositories which have precedence!
# https://github.com/travis-ci/travis-cookbooks/blob/master/cookbooks/travis_build_environment/files/default/ci_user/maven_user_settings.xml
before_install:
- rm $HOME/.m2/settings.xml
install:
- mvn -B -V -DskipTests=true -Dmaven.javadoc.skip=true install
script:
- mvn -B verify
notifications:
email: false
slack:
rooms:
- secure: eeujEPADw5Mu/ZkhyP6Ppj9xjPWh5qPbe6j2f29THZjlpIq2F9vCDsqtqJlvr7tom2WCsgIQT05yDY8yvc8DYEgaEkqF0U2BJ01XlUscVON6GaD3+Qhn9rxSJnJsfRVH0c417IO9ystliMrz4nMcE7Q6HhsCB61JTJ5t4Osi03VhNm40NyB8MouBSQKnPeAoZgJRiset2v+TrN2FO1Jm8el9m3uRxqaV1QWK609byAl0BYGxCZaly8HXMTlmJPXSOAv/gZH0O5sA4y9VrZYm+u/g7G5fi+CUfzuJUU1tgCtTK3hxiIUn/MDUDeHBz5LKYG8qQHUO+yGdD6mQVpzgiRlF83V60UFxpZgVh5ENuvNhFyxe/9x6ORjcrcSfNFk3gO50u59s58wqcvSxTRyx89xuVF9fDoxialD9vdo8xjEuEXCo+JZ+HQtwfHNp0b3nnPGQpgo+MMZQeWWPg5S1FsvJotutsuj0Nuq/lUQSsH7DjLOnzsXFOGv0rUrW/dE/s6OEYdIV0t4q6AagHCOlmjPDVTtOMEQZtb3tSv6sqvA6ogvgrjpFLeDqCZjuiJ9mUqzG+6hy4EhoINXGSEW1OF7q5mTcjCXwjfajxIdtSlj9kPctSAt605SdYgCD9GH2MTEmqCit1v2wndzJkwBsGESmKkvpwLoi4CwSmvbF0/4=
on_success: never
on_failure: always