Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Travis: Move build commands to proprietary script
Browse files Browse the repository at this point in the history
Prevents an implied attempt to sign builds without a signing key when submitting to a PR.
  • Loading branch information
AbandonedCart committed Aug 10, 2018
1 parent ba0f93b commit cc035a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ script:
- git fetch --unshallow
- cd shell/android-studio
- export NUMBER_OF_PROCESSORS=2
- "./gradlew build"
- "./travis-build.sh"
- test -z "$encrypted_c726d225a9d9_key" || ./travis-release.sh
before_deploy:
- cd ../../
Expand Down
7 changes: 7 additions & 0 deletions shell/android-studio/travis-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -ev
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
./gradlew build
else
./gradlew assembleDebug
fi

0 comments on commit cc035a3

Please sign in to comment.