-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (29 loc) · 985 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
language: java
env:
global:
- secure: "the base64 string from when you encrypted OSSRH_JIRA_USERNAME"
- # ^^ OSSRH_JIRA_USERNAME
- secure: "the base64 string from when you encrypted OSSRH_JIRA_PASSWORD"
- # ^^ OSSRH_JIRA_PASSWORD
- secure: "the base64 string from when you encrypted GPG_KEY_NAME"
- # ^^ GPG_KEY_NAME
- secure: "the base64 string from when you encrypted GPG_PASSPHRASE"
- # ^^ GPG_PASSPHRASE
jdk:
- openjdk8
script:
- mvn verify
after_success:
- mvn jacoco:report coveralls:report
before_deploy:
- release/createReleaseProperties.sh
- echo $GPG_SECRET_KEYS | base64 --decode | gpg --import
- echo $GPG_OWNERTRUST | base64 --decode | gpg --import-ownertrust
- gpg -v --keyserver hkp://p80.pool.sks-keyservers.net:80 --refresh-keys
- gpg -v --list-keys
deploy:
provider: script
script: mvn release:perform --settings release/mvnsettings.xml -Darguments="-DskipTests"
skip_cleanup: true
on:
tags: true