forked from dropwizard/dropwizard-health
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dropwizard#1 from mzamani/re-enable-publishing
Re enable publishing
- Loading branch information
Showing
11 changed files
with
152 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
dist: xenial | ||
language: java | ||
os: | ||
- linux | ||
jdk: | ||
- openjdk8 | ||
- openjdk11 | ||
before_install: | ||
- rm ~/.m2/settings.xml || true | ||
- rm ~/.m2/settings.xml || true | ||
- ulimit -c unlimited -S | ||
- mvn -N io.takari:maven:wrapper | ||
after_success: | ||
- bash .travis_after_success.sh | ||
- bash ci/after_success.sh | ||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
|
||
notifications: | ||
email: false | ||
- "$HOME/.m2" | ||
deploy: | ||
- provider: script | ||
script: bash ci/deploy-snapshot.sh | ||
on: | ||
repo: dropwizard/dropwizard-health | ||
tags: false | ||
branch: master | ||
jdk: openjdk8 | ||
- provider: script | ||
script: bash ci/deploy-release.sh | ||
on: | ||
repo: dropwizard/dropwizard-health | ||
tags: true | ||
jdk: openjdk8 | ||
env: | ||
global: | ||
- secure: RPsipHHqg22GuRtj09bjq09RXyg9PvV2JeQKtPwafpT2DRQjMwQi4A5aeO8YW2J4lx0vBNScNkXvRvvqE7hVWahV3WFdbz6KT+uFtgTceoYpJp9J24mpYpv6f/K8LotqIP0uMloSZXzO97DT/yIzU0MqOzROqw7Ss1K4P0chde6HDDu7f4N7Og6BC8wyiJ4uhlwGoa27Xi59PooIw1zsEXjPhVpYgMCi3iF57i19gOverNhJ4SlaQtg+5/Ie91L7fBSn3hWdsi2bUCh3kM17HCCPOVJmO5fT48CcJzyNjGmA4i2EWub8dl7ssCHXbCRKyWywyo2vryKdjMxvOXUG46ISJgEo1S+2Z+lmOIbxklfPVzqc41UMe/kETXMs0JCKiJ8JAI6neEgSOCxB+jOByRa5zmEMNAkT/oNp0bllG0EawK46rG4shUkFy39n6rxDa360UYpFP2/Go0lMU0dodf41F5CW5FN9yLvgGl1Gv3ysRquLxO1rhqyQmFdcw7K7igvKGbhpluSRUHw5LD02yqJsyrNesWndVEz+9KjHvq++bk1SjDJZN2nQN/i/X+e5EMfXLxKIxAD7rwUPFz1Q2N+qLUJObL3TJPHlDiezYhzSnLvGWrI4gCwktBA6/TS3/7TRdTfK064XsTOw8FcTVUSTgbk/pK+mc51JyT6yhJQ= | ||
- secure: BjplEOJujhM6DQWIxsyEnnw473GXHEQfndDlHZnFXB3lU6NYvK6mDXWUANRjD4JL3knvxazxk/TKPgw2pblL1mY6zs2HCMzaa7xlNzuoasNsT0ZygprbipalSxxl8+O5S1efuiAtrLwLHatahBKDN+dB9WygSiNG8ZbU2NlfsExQ/Id9on0Zpa6o5OioxDcQFpgaF2IQNiCBi+YOX1gyVbwEd/fFpLDQaIimZmxZzKy4f/T6v06TUfaZJBagB+pjVTjIOxpOLE50yIX+EWHdAGURwptXnHGsjjBQUy0sg9oVN8MlobZA6Kw6mhvh+x6JnTuC/B4/netWQWzWimLnUsee4GgaBSgiBH4GaMseRWZ2ajMJLir872N9FhaIPnwjRTeKgSsQ+UPnWl98ZGywYEmUcy6adcZ9ccLFhb6dI6HESyOvxBIL0Zbvc7F8KActM3DxJTZDoiCketB1ETh2urYuJXQ8ZGhMaRZWVvJ/1cYa4sI9Y3dArn03aQEYjfe0QY1jfGayZOx4t2snDVyL/wV/JWAbP2HZt7LC+OYhY+OXJCjpPXdaRB/W2qNR6WQ0UJpB4p5RlcUFsYKc8a02cSbW+4J5MkJvTfV+PnPXkrQVeea0vE7Gh6RFnYluVkNxDq0u5FIy2JF0ak8VUiDOk+uFzwdzAw/QDBH0OyPSoTk= |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dropwizard.asc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
set -e | ||
set -uxo pipefail | ||
|
||
if [[ "${TRAVIS_JDK_VERSION}" == "openjdk8" ]]; then | ||
# ./mvnw coveralls:report -B -q | ||
# exit $? | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
set -e | ||
set -uxo pipefail | ||
|
||
# Decrypt and import signing key | ||
openssl aes-256-cbc -K $encrypted_da5c7df06829_key -iv $encrypted_da5c7df06829_iv -in ci/dropwizard.asc.enc -out ci/dropwizard.asc -d | ||
gpg --armor --import ci/dropwizard.asc | ||
|
||
./mvnw -B deploy --settings 'ci/settings.xml' -DperformRelease=true -Dmaven.test.skip=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
set -e | ||
set -uxo pipefail | ||
|
||
./mvnw -B deploy --settings 'ci/settings.xml' -Dmaven.test.skip=true |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | ||
http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<servers> | ||
<server> | ||
<id>ossrh</id> | ||
<username>${env.CI_DEPLOY_USERNAME}</username> | ||
<password>${env.CI_DEPLOY_PASSWORD}</password> | ||
</server> | ||
</servers> | ||
</settings> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters