aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index cda20a80..52a5ec31 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,12 +18,10 @@ before_install:
- tar xvf frost.tar
- chmod +x gradlew
after_success:
-- chmod +x ./generate-apk-release.sh
-# Do one or the other
-- if [[ "$TRAVIS_BRANCH" == "master" ]]; then ./gradlew app:publishApkRelease; else ./generate-apk-release.sh; fi
+- if [[ "$TRAVIS_BRANCH" != "master" ]]; then chmod +x ./generate-apk-release.sh; ./generate-apk-release.sh; fi
script:
- cd $TRAVIS_BUILD_DIR/
-- "./gradlew assembleReleaseTest"
+- if [[ "$TRAVIS_BRANCH" == "master" ]]; then ./gradlew app:publishApkRelease; else ./gradlew assembleReleaseTest; fi
notifications:
email: false
slack: