-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (30 loc) · 3.74 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
language: java
jdk: oraclejdk8
branches:
except:
- master
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_script:
- openssl aes-256-cbc -K $encrypted_6b091118adcf_key -iv $encrypted_6b091118adcf_iv -in gnupg.tar.enc -out gnupg.tar -d
- tar xvf gnupg.tar
script:
- ./gradlew clean
- ./gradlew build
- |
if [ $TRAVIS_BRANCH == $TRAVIS_TAG ]; then
./gradlew uploadArchives closeAndReleaseRepository -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" -Psigning.keyId="${GPG_KEY_NAME}" -Psigning.password="${GPG_PASSPHRASE}" -Psigning.secretKeyRingFile=./gnupg/secring.gpg
else
./gradlew uploadArchives -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" -Psigning.keyId="${GPG_KEY_NAME}" -Psigning.password="${GPG_PASSPHRASE}" -Psigning.secretKeyRingFile=./gnupg/secring.gpg
fi
env:
global:
- secure: A2L5EprUrhoYOTv/3/cABmKY32P+w+lKT2WhpFVwH2s5cVgmqu86nGx4qJ4gmPvTH5yreUAqmqpYzl8IoC6rV5mcwmTJG8Yjked0XcylDuV1YerVLA8ZHcoKn7yWPZ3KKyY9ocL7nv30Mjhzuow7x0PMIPzwivWoKZGMqHHGEeN8biro/jTcoWHeoCD9JaAd62xYT2+INnRfeKA+nsnqopQanDmNuMBEVfKBTZMzHig5xmKKea3zoUvZw4+dCw/nU2eAoeBncLbIKGA7HUpFvgsOD9mW9sE7p1KQb+mnflCFCD/g4LhgJ4YdxDvqoQTXW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