From d4539f4ca81d7d0e46d95525df30ef85f5f90082 Mon Sep 17 00:00:00 2001 From: Greg Turnquist Date: Thu, 10 May 2018 13:16:20 -0500 Subject: [PATCH] Only deploy designated option to artifactory --- .travis.yml | 2 +- build.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index af53f8c..6ed6460 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ before_install: matrix: include: - - env: PROFILE=non-existent + - env: PROFILE=non-existent DEPLOY=true jdk: oraclejdk8 - env: PROFILE=spring5-next jdk: oraclejdk8 diff --git a/build.bash b/build.bash index 98063d7..d75771b 100755 --- a/build.bash +++ b/build.bash @@ -1,6 +1,6 @@ #!/bin/bash -x -if [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" -a "${PROFILE}" = "non-existent" ]; then +if [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" -a "${DEPLOY}" = "true" ]; then mvn -Pdistribute,snapshot,docs clean deploy else mvn clean dependency:list test -P${PROFILE} -Dsort