From 91958ce53d2a9284c96f10e06535c8bd95596e58 Mon Sep 17 00:00:00 2001 From: Marius Bogoevici Date: Thu, 12 May 2016 15:27:06 -0400 Subject: [PATCH] Travis updates - Remove use of .settings.xml in favour of Spring profile - Use external Kafka broker --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f7ad90cb8..d95e74d1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ jdk: services: - redis-server env: - - REDIS_TIMEOUT_MULTIPLIER=3 KAFKA_TIMEOUT_MULTIPLIER=30 + - REDIS_TIMEOUT_MULTIPLIER=3 KAFKA_TIMEOUT_MULTIPLIER=30 SCS_KAFKA_TEST_EMBEDDED=false before_install: - wget http://www.us.apache.org/dist/kafka/0.8.2.1/kafka_2.10-0.8.2.1.tgz -O kafka.tgz - mkdir -p kafka && tar xzf kafka.tgz -C kafka --strip-components 1 @@ -20,6 +20,6 @@ install: true # is for a normal branch commit. When the build is for a pull request, it will # contain the pull request’s number. script: - - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw -s .settings.xml package -Pfull -U -Dmaven.test.redirectTestOutputToFile=false' - - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || ./mvnw -s .settings.xml package -U -Dmaven.test.redirectTestOutputToFile=false' + - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw -Pspring,full -U -Dmaven.test.redirectTestOutputToFile=false' + - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || ./mvnw -Pspring package -U -Dmaven.test.redirectTestOutputToFile=false'