From 513fc08fb6cd5e77daee7e4479a6634da609f651 Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Sat, 30 Apr 2016 17:52:38 -0400 Subject: [PATCH] travis: only create dist if deploying --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c7b894c84..a267d8790 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,13 +17,13 @@ notifications: secure: "PWEk4+VL986c3gAjWp12nqyifvxCjBqKoESG9d7zWh1uiTLadTHhZJRMdsye36FCpz/c/Jt7zCRO/5y7FaubQptnRrkrRfjp5f99MJRzQVXnUAM+y385qVkXKRKd/PLpM7XPm4AvjvxHCyvzX2wamRvul/TekaXKB9Ti5FCN87s=" install: - - ./gradlew assemble + - ./gradlew assemble script: - ./gradlew check - - ./gradlew createZipDistribution before_deploy: + - ./gradlew createZipDistribution - export RELEASE_DIST=$(ls build/distributions/*.zip) deploy: