-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (32 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
36
37
38
39
40
sudo: required
language: java
before_install:
- sudo apt-get install -y markdown
script: ./mvnw test jacoco:report coveralls:report
jdk:
- oraclejdk8
before_deploy:
- ./mvnw -DskipTests package
- export RELEASE_NOTES=$(awk -v start=1 '/^#{2}[[:space:]].*$/{n++;next};n==start;n==start+1{exit}' CHANGELOG.md | markdown | awk '{printf "%s",$0} END {print ""}')
deploy:
provider: releases
api_key:
secure: QWLP7PlFfBKYk/lbZv1DSFM+xdP3hJ1Psp5SH4GXXmrUG7vtl7g8snIVQJ7i6oUSMjFpqsuJZg59Xp/OzvqDvmv3fwoNE/GsKJJ6CmbYOP21ocVqMHJDpayghGB0ghPHHRi4pV2CDYdG8ZaW6Iu/Q0ESXPgT/QraAn9mVnGd/t3fFlwSHDdVoe4SlMThJpZcvi8ZHJSSqyCYSjdcd6aHPu/d1r4UMH15IWLNEn4VS4Lr3gaHHyPhDyXLi3G6bZxOT/wywVF8fqJ00cKoHyu6HC9vm8GnxcdP9aGfM617DRYhWWwcauxN66u8gZTrCBS/UgVjGHHOccXXgGpXXgQasSqbr5t0iH6wcLlzbElRFqcqF6zt8Tie53RxiouNM9O3vg90t9ChArvSQ6E22EojCWpw4zP/Qi8/vX2eH/kKatLuTEE2oMzm5+l7wrvqwVENmmcgb5EDaAhZDxtzSPh9TPwUjkSg/K2+BW2Ued0aA27kWULWmQ5sHvIvFzbmaubUcBlp+ShesWIbiO104gY4Ny0rOG7TLo48CGIKRe6aKqIQR3RpYRIAymf7L2VppQMVjLHB4MSh+ZSIfx06Wq0rvhHlks5P8muIHzI1XkYzqX1wtOXeMmN7Fnw5MWI8V56KYFpaEETlLGXfCevZVDzvqZS+klfxFwYgWSCpyTNeOKE=
file_glob: true
file: 'target/frontpage-plugin-feed-*.jar'
body: "${RELEASE_NOTES}"
skip_cleanup: true
on:
tags: true
repo: coffeenet/coffeenet-frontpage-plugin-feed
notifications:
irc:
channels:
- "irc.synyx.de#CoffeeNet"
on_success: change # default: always
on_failure: always # default: always
use_notice: true
skip_join: true
cache:
directories:
- $HOME/.m2