forked from wicketstuff/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.49 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
language: java
jdk:
- openjdk11
- oraclejdk11
sudo: false
notifications:
email:
- mgrigorov@apache.org
- solomax@apache.org
irc:
channels:
- chat.freenode.net##wicket
template:
- "%{repository}, %{author}, (%{commit}) : %{message} "
- 'Build details: %{build_url}'
- 'Duration: %{duration}'
env:
global:
- secure: "I0PbW4iQlyMO/yztGnZ/qiaMm7IS51QqAGhA5HQYKVh/ywNpQpVrpZaFRyf8OlBAemqKmOTp3EcvR225hb6RQCFilkN2vCMbMO/b7BbMRVhfV6PlpkfiuP2EehgT5vXl74tF/WbnijbvLpQppLPqbC0yYKOVplVcNEDs0LcVLfk="
- secure: "PKgEV+4JuiCQ+69lYz8kDXLVKxn107EzGd+jq0BPxZK09LqMsvQpvkF0EZGF0gk1xXt3Gn2itVeKPbcxgufccuzVNoQnnXljvKn9+6ITTKg2HZA7UP4MrdOhhw1m+GMRKYVEdPz6qcG4FXlBfw3zgrmiZZ89K6mggPFeyf1VFDw="
- secure: "5VJDZpUAkDd//gFxVFcJSlPa7NzdPyR5jGR1+wV7szUCkCXA6e8RIGDBu4vFxjOer7bANHKeiu9Cb+Fl7xwCMncWQ1ah1ZWLSHFuYmd/NnlWDfSwrdDCIE5nG7VSzmXI5NZ31vmNr5z9M/gA38pQnFtEW3EoKXS0FB0uzNQhSDc="
cache:
directories:
- "$HOME/.m2"
install: true
before_script:
- echo "export MAVEN_OPTS='-Xmx2g ${MAVEN_OPTS}'" > ~/.mavenrc
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
script:
- DEPLOY_OR_TEST=install
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && DEPLOY_OR_TEST=deploy'
- echo DEPLOY_OR_TEST=$DEPLOY_OR_TEST
- if [ -n "`java -version 2>&1|grep OpenJDK`" ] ; then cp ./config/toolchains.xml $HOME/.m2 ; else cp ./config/toolchains_oracle.xml $HOME/.m2/toolchains.xml ; fi
- mvn -s sonatype-settings.xml clean $DEPLOY_OR_TEST -Dsource.skip=true -B -V