From d6003ee3b9211b5265a64113efec5754ab4dfe7f Mon Sep 17 00:00:00 2001 From: Matous Jobanek Date: Thu, 5 Oct 2017 12:45:32 +0200 Subject: [PATCH] skip install phase when no profile is set --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 73a4bcddf..fe93c84d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,11 @@ before_install: docker pull rochdev/alpine-asciidoctor:mini; fi' +install: + - 'if [[ -n $TEST_PROFILE ]]; then + ./mvnw clean install -DskipTests; + fi' + before_script: - mkdir -p /home/travis/.arquillian/mvn - wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz -P /home/travis/.arquillian/resolver/maven/download