Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
chore: add explicit MCENTRAL=Y to Travis jobs that deploy to Maven Ce…
- Loading branch information
Showing
with
13 additions
and
7 deletions.
-
+8
−3
.travis.yml
-
+5
−0
travis_build.sh
-
+0
−4
travis_deploy.sh
|
@@ -71,14 +71,19 @@ matrix: |
|
|
env: |
|
|
- PG_VERSION=9.4 |
|
|
- COVERAGE=Y |
|
|
- MCENTRAL=Y |
|
|
- jdk: openjdk7 |
|
|
addons: |
|
|
postgresql: "9.4" |
|
|
env: PG_VERSION=9.4 |
|
|
env: |
|
|
- PG_VERSION=9.4 |
|
|
- MCENTRAL=Y |
|
|
- jdk: openjdk6 |
|
|
addons: |
|
|
postgresql: "9.4" |
|
|
env: PG_VERSION=9.4 |
|
|
env: |
|
|
- PG_VERSION=9.4 |
|
|
- MCENTRAL=Y |
|
|
- jdk: oraclejdk8 |
|
|
addons: |
|
|
postgresql: "9.3" |
|
@@ -131,4 +136,4 @@ matrix: |
|
|
|
|
|
# Deploy snapshots to Maven Central |
|
|
after_success: |
|
|
- "test $TRAVIS_PULL_REQUEST == 'false' && test $TRAVIS_BRANCH == 'master' && test $PG_VERSION == '9.4' && ./travis_deploy.sh" |
|
|
- "test $MCENTRAL == 'Y' && ./travis_deploy.sh" |
|
@@ -5,6 +5,11 @@ set -x -e |
|
|
MVN_ARGS="clean package -B -V $MVN_CUSTOM_ARGS" |
|
|
MVN_PROFILES="release" |
|
|
|
|
|
if [[ "${NO_WAFFLE_NO_OSGI}" == *"Y"* ]]; |
|
|
then |
|
|
MVN_ARGS="$MVN_ARGS -DwaffleEnabled=false -DosgiEnabled=false -DexcludePackageNames=org.postgresql.osgi:org.postgresql.sspi" |
|
|
fi |
|
|
|
|
|
if [[ "${COVERAGE}" == *"Y"* ]]; |
|
|
then |
|
|
MVN_PROFILES="$MVN_PROFILES,coverage" |
|
|
|
@@ -3,10 +3,6 @@ set -x -e |
|
|
|
|
|
# Skip tests and checkstype to speed up snapshot deployment |
|
|
MVN_ARGS="clean deploy -B -V -DskipTests -Dcheckstyle.skip=true -Dskip.assembly=true --settings settings.xml" |
|
|
if [[ "${NO_WAFFLE_NO_OSGI}" == *"Y"* ]]; |
|
|
then |
|
|
MVN_ARGS="$MVN_ARGS -DwaffleEnabled=false -DosgiEnabled=false -DexcludePackageNames=org.postgresql.osgi:org.postgresql.sspi" |
|
|
fi |
|
|
|
|
|
if [[ "${TRAVIS_JDK_VERSION}" == *"jdk6"* ]]; |
|
|
then |
|
|