forked from amitshekhariitbhu/Fast-Android-Networking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (26 loc) · 804 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: android
env:
global:
- ADB_INSTALL_TIMEOUT=30
# Using the new Container-Based Infrastructure
- sudo: false
# Turning off caching to avoid caching Issues
- cache: false
# Initiating clean Gradle output
- TERM=dumb
# Giving even more memory to Gradle JVM
- GRADLE_OPTS="-Xmx2048m -XX:MaxPermSize=1024m"
android:
components:
- tools
- build-tools-23.0.3
- extra-android-m2repository
- android-23
- sys-img-armeabi-v7a-addon-google_apis-google-23
# Emulator Management: Create, Start and Wait
before_script:
- echo no | android create avd --force -n test -t android-19 --abi google_apis/armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script: ./gradlew connectedAndroidTest