-
Notifications
You must be signed in to change notification settings - Fork 40
/
.travis.yml
41 lines (36 loc) · 1.15 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
language: java
# use the container build system
sudo: false
jdk:
- oraclejdk7
#- openjdk6
#- openjdk7
after_success:
- mvn -DserviceJobId=$TRAVIS_JOB_ID cobertura:cobertura coveralls:cobertura package
-Dcobertura.report.format=xml
env:
global:
- secure: OPka1kcKQuWnfZHzPe8bUxOHF4fPI69J9h4bPy95Omg/IrFrvGHPuhpNWRvz2GbGTu9hcN8s2POlBoFAKBk2DFJtNLgORJrll1c/N1+OWEBmfnpaxyp5V8JmcxqISJDwPA4MD5Os+ezzMN2/VXsTaImqnHd43nY4+3K8L1o4WD8=
- secure: N2eLGAMFSWFHgba6i9AW7agX6sIn/fWeF6ELWceTSwUi8ZN18tQqtUgcOGnlLJZPI5mHrqyAMSynxVh81ITaaSHdqRYLMyXnq2yGEG6UC9Ptw3OPf8DgyuDG9bbvMHsEtatJPy7iA1Ltn5KpZmVOkHy+1+BEoOG2G0TyaHpJJXE=
before_deploy:
- "tar cvfz buddycloud-server-java.tgz target/channelserver-jar-with-dependencies.jar README.md postgres manual"
- "shasum -a 256 buddycloud-server-java.tgz > file.hashes"
deploy:
- provider: bintray
file: ".travis/bintray.json"
user: "$BINTRAY_USER"
key: "$BINTRAY_API_KEY"
skip_cleanup: true
on:
branch: "master"
- provider: releases
skip_cleanup: true
api_key: "GITHUB OAUTH TOKEN... to add later"
file:
- "README.md"
- "target"
- "manual"
- "postgres"
on:
tags: true
branch: "master"