Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jahirfiquitiva committed Nov 26, 2018
1 parent 3d49862 commit d6613f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ before_install:
jdk:
- oraclejdk8

script: ./gradlew clean test --stacktrace
script: if [[ "$TRAVIS_TAG" ]]; then ./gradlew clean :app:assembleRelease --stacktrace; else ./gradlew clean test --stacktrace; fi

branches:
except:
Expand Down Expand Up @@ -55,4 +55,8 @@ cache:
- "$HOME/.gradle/wrapper/"
before_script:
- chmod +x gradlew
- rm -rf $TRAVIS_BUILD_DIR/app/build/outputs
- chmod +x gradlew
after_success:
- chmod +x ./publish_apk.sh; ./publish_apk.sh

0 comments on commit d6613f2

Please sign in to comment.