Skip to content

Commit

Permalink
Trimming ARCH and for master branch
Browse files Browse the repository at this point in the history
Trimming android architectures to armeabi, armeabi-v7a, x86, arm64-v8a.
Deployment will happen on only master branch
  • Loading branch information
tallytalwar committed Dec 15, 2015
1 parent 373c652 commit afc4032
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions travis/script_deploy_android_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
set -e
set -o pipefail

if [ "${PLATFORM}" = "android" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "mult-android-arch" ]; then
if [ "${PLATFORM}" = "android" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then

# Build all android architectures (armeabi-v7a already build)
make android-native-lib ANDROID_ARCH=x86
make android-native-lib ANDROID_ARCH=x86_64
make android-native-lib ANDROID_ARCH=armeabi
make android-native-lib ANDROID_ARCH=arm64-v8a
make android-native-lib ANDROID_ARCH=mips
make android-native-lib ANDROID_ARCH=mips64
#### Currently Not building the following architectures
#make android-native-lib ANDROID_ARCH=x86_64
#make android-native-lib ANDROID_ARCH=mips
#make android-native-lib ANDROID_ARCH=mips64

make android-tangram-apk
cd "$TRAVIS_BUILD_DIR"/android; ./gradlew uploadArchives -PsonatypeUsername="$SONATYPE_USERNAME" -PsonatypePassword="$SONATYPE_PASSWORD"
cd "$TRAVIS_BUILD_DIR"
Expand Down

0 comments on commit afc4032

Please sign in to comment.