Skip to content

Commit cfd3460

Browse files
committed
Skip tests in deploy script, we don't need to run them twice in one build.
1 parent 78e4d0b commit cfd3460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy_to_sonatype.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [[ "${TRAVIS_BRANCH}" == 'master' ]] ; then
1515
</settings>'
1616
echo ${MVNSETTINGS} > ./target/maven-settings.xml
1717
echo "Attempting to deploy snapshot"
18-
mvn deploy -s ./target/maven-settings.xml
18+
mvn deploy -s ./target/maven-settings.xml -DskipTests
1919
else
2020
echo "Not on master, skipping snapshot deployment"
2121
fi

0 commit comments

Comments
 (0)