-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
41 lines (41 loc) · 3.77 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
language: java
env:
global:
# SONATYPE_USERNAME
- secure: "YHml7a5G3Ytjcw5hY5sXB3Ab+WOwKSpXIjrotwUsdk+NtqpngROK8KNK5KYg/qzxS1oCLcWGu+wmk4yCbGOByR69/AuC7yk2yrNEYqFjekpVhLXtZsKNmrRaV2XH7blqKDtr0QPkwOMu6t5y6oI6Bbes7j8eVT7+wd+WfP17lt83cCBAwn3zcjttwNT60zZhg1OM4Hpua2IaHYT56XzhBjwibougNJi5+2bhR2Cwe5c2MESsS/8vyiNdhMkrV8qsgwdsVQCNkGbqjmonzrOq+yGX/surdwhypM0O1JyPU6o3oJLgPTNC2TPJBCowayoAZ6QUe9BYQbn1sMF+bPwMHSRY420k0q4KfqEn1uiUQGD4sMvZZG+ZibvN/R04ZPLz9N2ajH6yK4u9zXRVL2hePtpAVcUb5c0t6WPwaWPbFZWH0Ekm24VKz/8buud1nxE+WgpmfqA3qFfCqePlqMyli/meY/Fr7s5M7jEK3Bv8FfRfXatMdeR6Fl0S73dD4ybwWln79PPDvsjMFHl/4+DANZcnaAaINxfTcWS8YitJxwocOLPTTmlzIYnd4MrbShXzy53sse9PPlOtcom9aSYtrMd+RU4RDEfPbj8bQQyFUSNu+v7WFfqi8qV2auROke3zYNEyt52K35A7mVmPEnIzYGbPBerw93M5dyaDh12cHt4="
# SONATYPE_PASSWORD
- secure: "dS7Pb1/Fhx1Jqts05RyYyJu1oG+uIODmMANpZjXbwiVPz3c1GSCD5sWMn69TkE2LWm6Gni6eRunKKwI/KObcWU60tAsZx86Kp5lN9OGGWHgqbKm4IS6CEVyBa62otV2Ka7OzqOLvdEzLz25Mt8xqoQlPVAIxGHl1jqnq3qZLe+p563jUpbCNzVQxBVrEPxuC5PXZY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HwxTA261lx0epVVNU/UXn8OiiYkQhNtkvXbSgnDl4pnRJkGPNjb1iYNfMKKdM9CAgSgNC15sO1CQZyPC+1HpyOK1HCD1cmRhJH/4R/zjfkN0="
# GPG_PASSPHRASE
- secure: "zEPaJeR61/pq2wqsaIUvmDXJLcE6mFo3sS0f98CHcsrzqAwcorwGzauozSY0Dhz/Ac3mTpgsrKadtQ6Gi8jJMZdB2VDfoAE3j0Sd92SxXY7XEaQvnLuPN7uEjCKQg16woAwMnaYfIhoZUZy3vVrk9IXxWuXqPFbpX1/L4yr3BhIdP/5yydbCt+NSsXZ//tHS7Th2kDcb8rQWfrY172E7JHkfPudieABLeJS6gJkgtt1SwIxfx8nLw45DP3d1t/hxnj6hiDC8SXjvkpJ7aV5Sg9zaxTRabBu8m1bb/zOu9IdMUlKzSSu0Ji1OUunYodat0yy2lXU/JQc7oK5vzwrJL6aL9XMNfU53fV1i/S13otiP3o3qZYpM/ilkgcVdpZ7xpLaN4LvXiOxK9jWu+xeH9a0hDuZykwIxzsfV/ooccWBVQuWzscmGQQuCfIwX8v0zbk4wLvBIxDz4gSfQCN9Vi1+cfeNbXTFwhS6zdLweJBW45DC2vKi/LypnQYwjog//sHvNmHZzDluZeSYbN6S/fTpphmUXpk4GqWcby4hValkCiBpt6G2ZoxbXIojMKW6q0igaQMuwGChGwZJsSZyfXUmcSOwuwLRHPahtTwu6nEPFYUgBlaHd49CrcW09CBPHfJWkkM3athXdmXKgsl207UiEfWCt8sirJgx5G1ySsqY="
cache:
directories:
- "$HOME/.m2"
before_install:
# Decrypt GPG Keys
- openssl aes-256-cbc -K $encrypted_8c393341f536_key -iv $encrypted_8c393341f536_iv
-in $TRAVIS_BUILD_DIR/deploy/gpg.tar.gz.enc -out $TRAVIS_BUILD_DIR/deploy/gpg.tar.gz -d
# Decompress GPG Keys
- tar xzvf $TRAVIS_BUILD_DIR/deploy/gpg.tar.gz -C $TRAVIS_BUILD_DIR/deploy
# Copy Maven Settings to proper directory.
- cp $TRAVIS_BUILD_DIR/deploy/.travis.settings.xml $HOME/.m2/settings.xml
deploy:
# Deploy Tags (Releases)
- provider: script
script: mvn deploy -B -V -DskipTests=true -P deployment
skip_cleanup: true
on:
tags: true
# Deploy Develop Snapshots
- provider: script
script: mvn deploy -B -V -DskipTests=true -P deployment
skip_cleanup: true
on:
branch: develop
# Deploy Release Snapshots
- provider: script
script: mvn deploy -B -V -DskipTests=true -P deployment
skip_cleanup: true
on:
branch: release*