forked from AppiumTestDistribution/AppiumTestDistribution
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
50 lines (48 loc) · 1.55 KB
/
.travis.yml
File metadata and controls
50 lines (48 loc) · 1.55 KB
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
49
50
language: java
sudo: required
matrix:
include:
- language: java
os: osx
osx_image: xcode9.2
before_install:
- brew update
- brew outdated xctool || brew upgrade xctool
- xcrun simctl list -j devices
- npm install -g appium
script:
- mvn clean site install -Dmaven.test.skip=true
- Platform="ios" mvn clean -Dtest=Runner test
- language: android
os: linux
jdk: oraclejdk8
android:
components:
- build-tools-26.0.2
- tools
- platform-tools
- tools
- android-22
- android-21
- extra-android-m2repository
- extra-google-google_play_services
- extra-google-m2repository
- sys-img-armeabi-v7a-android-22
- sys-img-armeabi-v7a-android-21
before_install:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
- nvm install 6
- node --version
- npm --version
- npm install -g appium
- 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
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb devices
- appium -v
script:
- mvn clean site install -Dmaven.test.skip=true
- Platform="android" mvn clean -Dtest=Runner test