From 7ed4f8e8592abb1b627e8beb38d6e6e194c2c90e Mon Sep 17 00:00:00 2001 From: lyogev Date: Wed, 9 Jan 2019 13:36:56 +0200 Subject: [PATCH] fix(travis): fix travis faulty build script (#137) --- .travis.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index a5da91674..762831f7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,24 +24,22 @@ script: - docker-compose -f e2e/kafka/docker-compose.yml up --exit-code-from kafka_consume deploy: - provider: script - script: - - sbt publishSigned sonatypeReleaseAll + skip_cleanup: true + script: sbt publishSigned sonatypeReleaseAll on: branch: master - provider: script - script: - - docker tag metorikku/metorikku metorikku/metorikku:$TRAVIS_TAG_spark_$SPARK_VERSION - - docker push metorikku/spark - - docker push metorikku/metorikku + skip_cleanup: true + script: docker tag metorikku/metorikku metorikku/metorikku:$TRAVIS_TAG_spark_$SPARK_VERSION && docker push metorikku/spark && docker push metorikku/metorikku on: - tags: true - branch: master + all_branches: true + condition: $TRAVIS_TAG =~ ^v.* - provider: releases + skip_cleanup: true api_key: secure: i+W1C7xBogQ5XUxctAV92+YaraEGrHscjnuIkXHesfGEvF5rz9AdwGvpLzRIdLOHH0S4tR5uPFVUF+w86IWQOHLyZhNDybbkIpoQqRRuB0xiOwsqlcjz5IwNkhraTRF+8sPl9FBI5OuGfOKh8jy91xLpYvcMt+EKsai+5rugDxyb8/L3G5nQcH+/5c40dflDmDChkJF/qoNB7iLofMoW9uG72QHKeO87JoVJKg6o73anpuqQ9qZA7W4GYZBmU5QrHNMfdQqt/8XgrPvxq4DW8EnH1Tzg4nXuBREvY92rBxBYpAuff0uxlRJmd8n19Nk4hNRNNpwBIBlHwmbzCAY4AnRJmZT1G/A3E5wznfUt1JekIdwCfaVBbIaAbeFwrTV2DjJYSWdmeB79HF82CYRHuWY4tkxUzUMuBUK2KKFovfMvNG2Lx33cQRwC1YrCb+9W587rWx3dNfIY4vj9aWbCcfZnfrM0N00rlQKZH16dkdYIEZlg396h3v9M41MmvNgez7O/ftUILF3cIc6AG2X8xzcpbXB0lGCFwNdMXKtEpUf04Nw5Lu84Ov662OWfPAM2G/edSnXF1d56XxLnax8dQNcoqc25wcn+1VmpguzLr530rI9dNREZC2sQ7C0/cLnk6SAP12PKXk9nmigyWIbbGHe2FBC4WBSssb8xMg+bgLs= file_glob: true file: "$TRAVIS_BUILD_DIR/target/scala-2.11/*.jar" - skip_cleanup: true on: - tags: true - branch: master + all_branches: true + condition: $TRAVIS_TAG =~ ^v.*