forked from pmd/pmd-eclipse-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (57 loc) · 4.18 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
59
60
61
62
63
64
65
66
67
68
69
70
sudo: false
addons:
apt:
packages:
- oracle-java8-installer
ssh_known_hosts:
- web.sourceforge.net
language: java
jdk: oraclejdk8
before_install:
- bash .travis/setup-secrets.sh
- bash .travis/configure-maven.sh
install: true
before_script:
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- sleep 3 # give xvfb some time to start
script: "source .travis/build.sh"
before_deploy: true
deploy:
provider: releases
api_key: ${GITHUB_OAUTH_TOKEN}
file_glob: true
file:
- net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-*.zip
skip_cleanup: true
on:
tags: true
repo: pmd/pmd-eclipse-plugin
condition: "${TRAVIS_SECURE_ENV_VARS} = true"
after_deploy: source .travis/release.sh
notifications:
email:
recipients:
- andreas.dangel@adangel.org
- pmd-commits@lists.sourceforge.net
on_success: always
on_failure: always
cache:
directories:
- "$HOME/.m2"
env:
global:
- secure: "nlH1I4vtTWSk2SDxzw0SzSRv9lQy1SuvwF9njO6OABDFwK3RWRmAFhsEcdQ/V7SdLJ24FJjw1qVOMVW8ZroytQx2b035ipBMFkZtWM6KJoJ4DpMjEW5x9Q9aBIaETOa5EPK/6p4cGce1L97nUU3t9d4NFbUK3+RDg2mhEz9Iy0wbGO1qW+d0oKO2+Pm97ZWJCMTgk7hfpgSUiHKsjH3jLF2yCZRfu7IQ6fkXkjxtCuzccCelO784aW4UmTZCiXgKFyxUjdDc5JnuiFw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ozSQJIPXckdd8uGtNcZFS+B+AMbxmaJkQs+BmAhoPvzYnkepRZkpNCOMVImjn6jeOi+iC69OzeCT0PF7j4JYWBpIulRso2qfH/pyBsq7QYcDQeTLkeE/FHmOvWnu6+vZmW/aU8N8Awez7vuJDYvWW/5JZMp3bWwXN2kateDGRayfEOUbE6GprTs7uv/xvIJC/amI0+YbGOIkvaoiWe3kTbL99gmszgUOp/YvDfbLVUonm97npfDlrU9uL+qqdnBrZzAHRGIZclb2Tn7agf3IAQN1KaxpFOL7u+VEG5HbtGEbh/h/oOyKMVcb8ho4lWauOcfy78N3f9VkKKr7gnVAEt+eueZbFQ="
# Secure Keys, that need to be set for snapshot builds
#
# PMD_SF_USER - the sourceforge user, which is used to upload created binaries to sf files section. Note: an ssh key is
# required. See "before_install" / ".travis/setup-secrets.sh".
# Secure Keys, that need to be set for releases:
#
# BINTRAY_USER
# BINTRAY_APIKEY
# GITHUB_OAUTH_TOKEN
#