From bde1c74e57b34b3395fe4741d8188fe2704662ce Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 3 Jul 2017 21:07:12 -0400 Subject: Dev (#14) * Allow file access * Log all to phone * Rework billing logic * Simplify travis process * More logging --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.travis.yml') 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: -- cgit v1.2.3