Stop publishing snapshots from CI

The corresponding jobs keep running into `java.net.ProtocolException: Too many follow-up requests: 21`.

Might try again to publish those, with sbt-dynver or an equivalent enabled,
via Travis CI stages.
This commit is contained in:
Alexandre Archambault
2018-09-24 10:00:16 +02:00
parent 69e933dd0d
commit 9c6335458e
2 changed files with 3 additions and 16 deletions
-13
View File
@@ -95,10 +95,6 @@ checkBinaryCompatibility() {
sbt scalaFromEnv coreJVM/mimaReportBinaryIssues cacheJVM/mimaReportBinaryIssues
}
publish() {
sbt scalaFromEnv publish
}
testBootstrap() {
if [ "$SCALA_VERSION" = 2.12 ]; then
sbt scalaFromEnv "project cli" pack
@@ -221,12 +217,3 @@ else
fi
fi
PULL_REQUEST="${PULL_REQUEST:-${TRAVIS_PULL_REQUEST:-false}}"
BRANCH="${BRANCH:-${TRAVIS_BRANCH:-$(git rev-parse --abbrev-ref HEAD)}}"
PUBLISH="${PUBLISH:-0}"
if [ "$PUBLISH" = 1 -a "$PULL_REQUEST" = false -a "$BRANCH" = master ]; then
publish
fi