forked from inferred/FreeBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 990 Bytes
/
.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
# sudo necessary for addons
sudo: required
dist: trusty
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java9-installer
install: ./gradlew clean jar
script: travis_wait 30 ./gradlew check
env:
global:
- JAVA_9_HOME=$(jdk_switcher home oraclejdk9)
- PGP_KEY_ID="2887CE9B"
- PGP_PASSWORD=""
- PGP_SECRET_KEY_RING_FILE=~/.gnupg/secring.gpg
# NEXUS_USERNAME
- secure: "DUvIXg1aLxpnWv7K7VeIWvb704Puat98zb++GKLkkHfdcyQn+t+mYQsMJPMKXa5iqWNfwoFSpmPrPmcTW5sGAg8vJ/OmZFJdtIdPaeykr+8kYIIHbS7Pquqr/4iN2UKaJ4TbMOj0sgEiu573CyW5JtRmRWVQuKG0rKJKsDf2XKc="
# NEXUS_PASSWORD
- secure: "SZcQ+0AhVo25fCCDQqc/kUVe4mcS0lVuzUAZPCXOmr146BAHTJ/HEae8OAkHEvFUZmGWlrG/FR1P6BQ+OnBOsnjei0sYokdg6w0e+bQ9wPaY4zsMsgSzPWscwt7pjVS05aSsS9uEEOCzM1nLCBzfEw7W8mWIQWeTPOa8Erzdtss="
before_deploy: ./scripts/install_codesigning_key.sh
deploy:
skip_cleanup: true
provider: script
script: ./gradlew upload closeAndPromoteRepository
on:
tags: true