Merge pull request #1275 from reicast/lk/pullrequest

Travis: Move build commands to script
This commit is contained in:
Abandoned Cart 2018-08-10 17:18:39 -04:00 committed by GitHub
commit ca277b9568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

3
.travis.yml Normal file → Executable file
View File

@ -47,7 +47,8 @@ script:
- git fetch --unshallow
- cd shell/android-studio
- export NUMBER_OF_PROCESSORS=2
- "./gradlew build"
- sudo chmod 755 travis-build.sh
- "./travis-build.sh"
- test -z "$encrypted_c726d225a9d9_key" || ./travis-release.sh
before_deploy:
- cd ../../

View File

@ -0,0 +1,7 @@
#!/bin/bash
set -ev
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
./gradlew build
else
./gradlew assembleDebug
fi