Skip to content

Commit

Permalink
fix travis deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bjzhou committed Sep 1, 2014
1 parent 2f01519 commit c6f20d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,21 @@ language: android
jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a

- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
android:
components:
- build-tools-19.0.0

- build-tools-19.0.0
before_script:
# Create and start emulator
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- adb wait-for-device
- adb shell input keyevent 82 &

- chmod +x gradlew

- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- adb wait-for-device
- adb shell input keyevent 82 &
- chmod +x gradlew
script: ./gradlew build

deploy:
provider: releases
api-key: "hHfvkydjdYzCnLWU3dJT"
file: "app/build/app-release-unsigned.apk"
skip_cleanup: true
api_key:
secure: erkFo+DN77BUXT4+2irsR0nRgQxrsJIbnGDe8ozSofb0r4dB/nkAfSPK42ZuxzqGZlWpPlK+Y80deMLxEWtep/p01l7BHpeV/clgvYkCrF8XLjBkKF73NlM+ZXB3hnEFw76cxKYENZs/BtD9sgbKbfWaSKuAZAUpZb2M/+uisJQ=
file: app/build/apk/app-release-unsigned.apk
on:
all_branches: true
repo: bjzhou/Coolapk
Empty file modified gradlew
100644 → 100755
Empty file.

0 comments on commit c6f20d7

Please sign in to comment.