Skip to content

Commit 02aea8a

Browse files
committed
Merge pull request #62 from ParsePlatform/wangmengyan.add_suport_for_TravisCI
Add travis CI support
2 parents 302b576 + 73703b3 commit 02aea8a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.travis.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
branches:
2+
only:
3+
- master
4+
5+
language: android
6+
sudo: false
7+
8+
android:
9+
components:
10+
- build-tools-21.1.1
11+
12+
- android-22
13+
14+
- extra-android-support
15+
- extra-android-m2repository
16+
17+
- sys-img-armeabi-v7a-android-22
18+
19+
before_script:
20+
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
21+
- emulator -avd test -no-skin -no-audio -no-window &
22+
- android-wait-for-emulator
23+
- adb shell input keyevent 82 &
24+
25+
script:
26+
- ./gradlew clean connectedCheck --info
27+
28+
cache:
29+
directories:
30+
- $HOME/.gradle
31+
- $HOME/.m2/repository

0 commit comments

Comments
 (0)