forked from wicketstuff/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.29 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
language: java
jdk:
- openjdk7
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
sudo: false
notifications:
email:
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
script:
- DEPLOY_OR_TEST=install
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && DEPLOY_OR_TEST=deploy'
- echo DEPLOY_OR_TEST=$DEPLOY_OR_TEST
- cp ./config/toolchains.xml $HOME/.m2
- mvn -s sonatype-settings.xml clean $DEPLOY_OR_TEST -Dsource.skip=true -B -V --quiet