forked from selenide/selenide-appium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (40 loc) · 1004 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
branches:
only:
- master
language: android
sudo: false
jdk: oraclejdk8
env:
global:
- ANDROID_API_LEVEL=25
- ANDROID_EMULATOR_LEVEL=21
- ANDROID_BUILD_TOOLS_VERSION=25.0.3
- ANDROID_ABI=armeabi-v7a
- ADB_INSTALL_TIMEOUT=5
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
install:
- nvm install v7.10.0
android:
components:
- tools
- platform-tools
- tools
- build-tools-${ANDROID_BUILD_TOOLS_VERSION}
- android-${ANDROID_API_LEVEL}
before_script:
- android list targets
- echo no | android create avd --force --name test --target android-${ANDROID_EMULATOR_LEVEL} --abi ${ANDROID_ABI}
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb devices
- npm install -g appium
- appium &
script:
- ./gradlew clean check --info