forked from JZ-Darkal/AndroidHttpCapture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (27 loc) · 976 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
language: android
jdk: oraclejdk8
dist: trusty
global_env: _JAVA_OPTIONS=-Xmx4g
android:
components:
- build-tools-27.0.3
- android-22
- sys-img-armeabi-v7a-android-22
- android-27
- extra-android-m2repository
- extra-android-support
licenses:
- android-sdk-license-.+
- '.+'
before_script:
- wget http://services.gradle.org/distributions/gradle-4.4-all.zip
- unzip gradle-4.4-all.zip
- export GRADLE_HOME=$PWD/gradle-4.4
- export PATH=$GRADLE_HOME/bin:$PATH
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &