-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (30 loc) · 942 Bytes
/
circle.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
general:
branches:
ignore:
- gh-pages # list of branches to ignore
machine:
node:
version: v4.2.1
java:
version: oraclejdk8
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
dependencies:
override:
- echo y | android update sdk --no-ui --filter "android-19"
- echo y | android update sdk --no-ui --filter "build-tools-19.1.0"
- echo y | android update sdk --no-ui --filter "extra-android-m2repository"
- echo y | android update sdk --no-ui --filter "extra-android-support"
- echo y | android update sdk --no-ui --filter "extra-google-m2repositor"
test:
override:
# start the emulator
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
# wait for it to have booted
- circle-android wait-for-boot
# Unlock the screen
- adb shell input keyevent 82
# run tests against the emulator.
- make test