-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
46 lines (39 loc) · 5.96 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
sudo: required
dist: trusty
language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2/repository
before_install:
# allocate commits to CI, not the owner of the deploy key
- git config user.name "GH_USER"
- git config user.email "$GH_USER_EMAIL"
# setup https authentication credentials, used by ./mvnw release:prepare
- git config credential.helper "store --file=.git/credentials"
- echo "https://$GH_TOKEN:@github.com" > .git/credentials
install:
# Override default travis to use the maven wrapper
- ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- ./travis/publish.sh
branches:
except:
- /^[0-9]/
env:
global:
# Ex. travis encrypt -r org/repo GH_USER=your_github_account
- secure: "BWqYjgklcW9HCxZuJsNUrnJwFq94PCvH6cTS0IF0Rod//ZWAMyfoO62JtUkWmWcvGU8riZVOv5E8U68p2g9J9daSK/9LVp1HzOtYCBO2doPyII5uVziESkJUspUZ63ha+EAEoUPye+UhtSgjE3XNTsDUIVNud3O88p+PGqkRHpsGxAW/ZcEN72n3haxBuggOQyqBJRw2UUvKQYuD2WmA/iE8opacP+ErG5A5AU5NCyLO4+uKmiH0I4tnbpZ8r4lPgQrITlvw+fAfIexJ/dhBlP8pzZzOh/MTl+4llJn1I0cGQFbcHiZxY5hslHzz/msZGNz54b2r2vvZEsp/PYUP4PdHFc62Ql1D9gyXSn4YAegKL4RcsXP7ddurry4mdu9xDSb6WCvUkJ2E0IvsGC85EFEp66wpjaUImFP1IXHSVBZnlovYkoo8dbk3idl50zWSWABdobBWQYCSOpSK6cRlugI2YFwGvU7jnwBSWVj1s3ArKTJgTCP7OvjxARTrtuQyoFXaHhq8A5m1Qni7FoSyQBPdBT7Fg+nWWdIALERL075wpO4fw9Vz4XFe+pbsHotWIVjcmZGXhL9sUMklNgZIN4LBrFihN+cn4XIaNV2+TLkRxTJEYuG2Q2PuLMVMLD40+Mc1q18Rz07QGFoDKkCh0P1Gsf+W+rfkMThFWOVm8Nw="
# Ex. travis encrypt -r org/repo [email protected]
- secure: "dYvLHsUFg5JKsTfMG8ERYyXxCx7oX2ale0El4UMPSYCkioh/J69O313QneWklFhLZmH6jHQ+Hiv1pZbSAphL6nJ4kvdboQ5oJoqwNhWaf31PH80VcXpLNN6kgGzLN9wO2bV3Vpf53aNcXIDkdBQr3xKKAxyNePZj2djlu7YnAHpjQGAD7u6FmabU8lI0T0B8w77HGxyKuPQfsxAZP4BwKq8Rpm2+tsyaS/OLiKxHHg/PpmRd+u/EyXUXy3ur02AmxsNJwwHzowxFpVzm5QrDK1Qe+hdwXMNgvOyT6sym8j2MXA6Pswa2O5zBJj7DDCdvKuIOyhbmwZrK/uK4dP+O/RZ294axl9DV+eMtKb0/3aRV83N39YjVlFdf+3B7TIQbz2LQvsXfhZoH6CDjXIv2jybB0PYzVy9SlziT2TEVTUpd+yMmsTKfV3bZfaMsY0X+Jk5nmOBcQc1drhO+iP71+22PCLijhuDTyVlG0snFpYQUgVwtpstjrEpG3NpRAIDr69dECQraSG1QwE/NokVTZlJdB1HDrn7PY6Ysm0lvrM06Hq0OHL7Kf26C0L7fMuBOHhyEEtlCKXZq/HPMXuMSznJZSR2sI06mLTWOiff/JLzuPp/ZFLzCZcSYF0v0c2XIScuxGJm45XTFDXwZJ0CM5nL4qxbm/nQwsqFJUyXFUGQ="
# Ex. travis encrypt -r org/repo GH_TOKEN=XXX-https://github.com/settings/tokens-XXX
- secure: "SXteTtX4r7l/npPs0eyjXecjXlFMzORU1RprW1o5B3/06lYH5kcPYnkJYKRRIs+DXXGFiAYLtnje4+YRmhCOsZxdiDOM0r+N3h3L2C5Zcj0MpDCc+Cz1NeGPyus9KSh0jm8GBncPkUHsD2ncUbU1i1CFEonbHKYhmcl27GVpwNmS4TYVLeC7kWhf2QT4jJZosPK1/hE0YMOs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nBhGYlnKOceo7HdC1R/pFQqJUJROK2h+DsSvXLClH2e+dnooq4Ur73EFaswuglXJ8hZgEqyZYXnV92fM7M8+8v7JLFFgaKK7TDMGjyv07xWL7ssM7xyPLECuWCTk="
# Ex. travis encrypt -r org/repo SONATYPE_PASSWORD=your_sonatype_password
- secure: "OJHApw0zCEQMBpkkEZstGYWsX8+ZA8fcYea6PZuByn18OAbUmvJcKPwWnTeKO5y98g6+7PYN9MKtHEwZz3Z3q2AOcJ5OuzHNTCqCVFvIv6+EbHOJ4A5zdjPa/8l6zV7uaKJ80oRBGAO7hjfyqXzzHJuvtj7JGaFWmkaY9cQUzZ0hIqS1mqSjNGmdl5GvDHc38MiVKrDoIwsK8fosGdqdQYXNX0kDGxOVSawM/w9QhMmHWrnOsRnb987sx4hxlBK3K0zmUHn1ApsY8dAfKjQ/fv5tJG1LhtAGZi1ng3Zt30+JMLz9fCzWMpsvmyA2NPdNyInlXOe47pxGNBH4ZM4wdxgAAiXGNtQYLpLo5H/tMd0R9EqPIwcHmR/R74SUmXuvt6gzawnr9gUNcHDBv6OXMx4jNe52G7aQ4hr5+2wb8Yc2MLZ8AeOeWpboymhA1AI3LF+Ji+Es3dEL/zDDhxdHr1r/hg8pTCfAQAXdR6vTUVmwtGorMOHvNpTDbkUmbl0cEPmvo41J3Pp9QmIYJhby2M1AmlqZ8U8QdMFt4UXrT0ldNMZp7tj0qZq0gw7FJQ3zye5z6HntrvePDbwZ9HRkB/jafbvEYIMgU+eQigGt3/TUXKDfKKS0FjOVvv7XqICN4OzdHm1uTAHQb0GKcllFrpQilTEfWxh4cwzKUyJYNrE="
# Ex. travis encrypt -r org/repo BINTRAY_USER=your_github_account
- secure: "Mi03E9s+eriyRkWRqQHUbYuvJVNfRxxsnqkijLzL7OqEX/Rx++Vc1uzVGlop3278VFZSYh4fNGRBm0o9tZhlcdYG0bqs+s4K5WwRpWe2u41PeycveenhLsyi/WxeCr7xI7cYxrRaqhKbEzDnbdteENpspwc90tv4cwx7BWcnE5kmzRPq7J7MY9gCpDbN1UrJNnoZpP3SRUy8buY8bH2k8+HBllDXwCYNcnUViNDPGJ5dbEareWzXPvhL/w/1UqJK0M5U3NYiD5PccBUo/vC/Ss3ljrUiiuOB6DhF7nw5g8/pBd+yLu5VlSSqy+ge7N016sn0Fh9XUPNTuumb2/Oj1yP9zM0wwqU6Wq0t9uUDpaioUj4NCE+IGWzhjeZ0a5LQWeiAzFcPTeuuCoB8wuCmaXWXK1Z/k1EwUUMloXsVflakPOzB9YeQbz3o9Ab1KiSpStrtcLmTvMEDNlqiqcfHSFO4ZCLv4NAgzy11Q1bybWEty7vz81YOtFiF9K4erZCdM1s9OWbYut1HLsFSiaK660F+3K82UzrDbVjq31PFKZpwokk1eHQaHiH5/vli0WgjrDvWzMMvcoYRUwFHObEWxfO8jN8hfFjWlFx8Rd7P/2pBvg39St6rx+hhwraNedGlC/kEh61FxH1e6K2eZmMLhYLLZKDBBs4Y7+EWnGe1sMw="
# Ex. travis encrypt -r org/repo BINTRAY_KEY=xxx-https://bintray.com/profile/edit-xxx
- secure: "cpALtu+9sYZugW5k/oQZEmkU65S1wvibKSfSMspm0F8GXQnh9/1RcwrbFm7Wsfq40BGoX2Loat75HelHcVWfju42kuryBRdki7Qkt3594xRPBjLw8pxChrRRLCQ4Ov4S1X8Y0d7fc1nuDAt3/vjHU9iTH/HDJP9IJ16h9CCs1xnKPj9rp0sezkOB+7Xvy0f7pBe868Jmr8ALmiPfw/tprq7RG7TIHlq0UCfHEjMwB6Jko4VkjtF67V5dOVYeAsMYUahRa62AuVsNahatJORdPFo13KtY9V17KbjNYB5JNyUNbWbe8yKb6l0uNdDaVBantTz9MrMqt4BT56E88cK4PusOJaNS0tB6jat6cEZmRWdywlfq5m6618FLBQCpaVNNlrKlH43xWBJVyhqL01v3Z2mjs0t1dLP5DGph90s253gEiLH4G6z7MWVXFh2TsYQJPf68glYa/iq/C9ywTt242iFS2mgfKo1f28ciqQTwCrxsus1WsUD1UI0jqatqEV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