From 9c6335458e079d3f9cebfa09d546c76f8cccd347 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Mon, 24 Sep 2018 10:00:16 +0200 Subject: [PATCH] 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. --- .travis.yml | 6 +++--- scripts/travis.sh | 13 ------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index ad5238f05..fe8dc5a00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/scripts/travis.sh b/scripts/travis.sh index bd844e1ca..6a9bf7031 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -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 -