mirror of https://github.com/sbt/sbt.git
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:
parent
69e933dd0d
commit
9c6335458e
|
|
@ -11,7 +11,7 @@ addons:
|
|||
update: true
|
||||
matrix:
|
||||
include:
|
||||
- env: SCALA_VERSION=2.12 NATIVE=1 PUBLISH=1
|
||||
- env: SCALA_VERSION=2.12 NATIVE=1
|
||||
os: linux
|
||||
jdk: oraclejdk8
|
||||
sudo: required
|
||||
|
|
@ -19,13 +19,13 @@ matrix:
|
|||
- curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
|
||||
services:
|
||||
- docker
|
||||
- env: SCALA_VERSION=2.11 PUBLISH=1
|
||||
- env: SCALA_VERSION=2.11
|
||||
os: linux
|
||||
jdk: oraclejdk8
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
- env: SCALA_VERSION=2.10 PUBLISH=1
|
||||
- env: SCALA_VERSION=2.10
|
||||
os: linux
|
||||
jdk: oraclejdk8
|
||||
sudo: required
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue