Skip to content

Commit ede494f

Browse files
committed
update to skip tests with maven
1 parent 4052e65 commit ede494f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Java/script.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ mvn -B versions:set -DnewVersion=$POM_VERSION -DgenerateBackupPoms=false
2323
echo conditional MAVEN_CENTRAL
2424
if tr_isSetAndNotFalse MAVEN_CENTRAL; then
2525
if [ "$TRAVIS_BRANCH" = "master" ]; then
26-
mvn clean deploy --settings $TRAVIS/settings.xml -B -U -DreleaseSonatype=true
26+
mvn clean deploy --settings $TRAVIS/settings.xml -B -U -Dmaven.test.skip -DreleaseSonatype=true
2727
else
28-
mvn clean install --settings $TRAVIS/settings.xml -B -U -Prelease
28+
mvn clean install --settings $TRAVIS/settings.xml -B -U -Dmaven.test.skip -Prelease
2929
fi
3030
else
31-
mvn clean install --settings $TRAVIS/settings.xml -B -U -Prelease
31+
mvn clean install --settings $TRAVIS/settings.xml -B -U -Dmaven.test.skip -Prelease
3232
fi

0 commit comments

Comments
 (0)