From 76f69dec34cc510f0ae2abc984e42551e02a68b8 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Tue, 27 Mar 2018 13:53:44 +0200 Subject: [PATCH] fixing travis config --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e005d2b6e..f9006421e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ addons: build_command: "mvn -fmain/pom.xml clean test -DskipTests" branch_pattern: release.* install: -- curl -o $HOME/.m2/settings.xml https://gist.githubusercontent.com/cryptobot/cf5fbd909c4782aaeeeb7c7f4a1a43da/raw/213340478055c3a6c1f820f062bd23b277337372/settings.xml +- curl -o $HOME/.m2/settings.xml https://gist.githubusercontent.com/cryptobot/cf5fbd909c4782aaeeeb7c7f4a1a43da/raw/e60ee486e34ee0c79f89f947abe2c83b4290c6bb/settings.xml - mvn -fmain/pom.xml clean install -DskipTests org.codehaus.mojo:versions-maven-plugin:help dependency:go-offline -Pcoverage,release # "clean install" needed until we can exclude artifacts currently in the reactor, see https://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html#excludeReactor and https://issues.apache.org/jira/browse/MDEP-568 script: - mvn --update-snapshots -fmain/pom.xml clean test jacoco:report verify -Pcoverage @@ -36,7 +36,7 @@ after_success: before_deploy: - jdk_switcher use oraclejdk9 - | - if [ -n $TRAVIS_TAG ]; then + if [ -n "$TRAVIS_TAG" ]; then mvn -fmain/pom.xml org.codehaus.mojo:versions-maven-plugin:set -DnewVersion=$TRAVIS_TAG else mvn -fmain/pom.xml org.codehaus.mojo:versions-maven-plugin:set -DnewVersion=SNAPSHOT-$TRAVIS_COMMIT