forked from killbill/killbill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (52 loc) · 2.17 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
46
47
48
49
50
51
52
53
54
55
56
57
58
language: java
sudo: false
# Flaky - see https://github.com/travis-ci/travis-ci/issues/3566
#cache:
# directories:
# - $HOME/.m2
script: if [[ -v COMMAND ]]; then $COMMAND; else travis_retry mvn -q -Djava.security.egd=file:/dev/./urandom -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dorg.slf4j.simpleLogger.log.org.killbill.billing.util.cache=ERROR -Dorg.slf4j.simpleLogger.log.org.killbill.billing.lifecycle=ERROR -Dlogback.configurationFile=$PWD/profiles/killbill/src/test/resources/logback.travis.xml clean install $PHASE -pl '!beatrix,!profiles,!profiles/killbill,!profiles/killpay' 2>&1 | egrep -v 'Download|Install|[ \t]*at [ \ta-zA-Z0-9\.\:\(\)]+'; [ ${PIPESTATUS[0]} == 0 ]; fi
# Remove --quiet to avoid timeouts
install: mvn -U install -DskipTests=true | egrep -v 'Download|Install'
notifications:
email:
- kill-bill-commits@googlegroups.com
env:
global:
- MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=192m"
matrix:
allow_failures:
- jdk: oraclejdk8
include:
- env: PHASE="-Pmysql"
jdk: openjdk7
- env: PHASE="-Pmysql"
jdk: oraclejdk7
- env: PHASE="-Pmysql,jdk17"
jdk: openjdk7
- env: PHASE="-Pmysql,jdk17"
jdk: oraclejdk7
- env: PHASE="-Pmysql,jdk18"
jdk: oraclejdk8
- env: PHASE="-Ppostgresql"
jdk: openjdk7
- env: PHASE="-Ppostgresql"
jdk: oraclejdk7
- env: PHASE="-Ppostgresql,jdk17"
jdk: openjdk7
- env: PHASE="-Ppostgresql,jdk17"
jdk: oraclejdk7
- env: PHASE="-Ppostgresql,jdk18"
jdk: oraclejdk8
- env: PHASE="-Ptravis"
jdk: openjdk7
- env: PHASE="-Ptravis"
jdk: oraclejdk7
- env: PHASE="-Ptravis,jdk17"
jdk: openjdk7
- env: PHASE="-Ptravis,jdk17"
jdk: oraclejdk7
- env: PHASE="-Ptravis,jdk18"
jdk: oraclejdk8
fast_finish: true
after_success:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && echo "<settings><servers><server><id>sonatype-nexus-snapshots</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>" > ~/settings.xml && mvn deploy -DskipTests=true --settings ~/settings.xml | egrep "WARN|ERR|\[INFO\]\ ---|Upload" | egrep -v "[0-9]+/[0-9]+ KB" ; rm -f ~/settings.xml'