forked from iSoron/uhabits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
29 lines (29 loc) · 896 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
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter "tools"
- echo y | android update sdk --no-ui --all --filter "android-25"
- echo y | android update sdk --no-ui --all --filter "build-tools-25.0.2"
- echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
checkout:
post:
- git submodule sync
- git submodule update --init
test:
override:
- mksdcard -l e 128M sdcard.img
- emulator -avd circleci-android22 -no-audio -no-window -sdcard sdcard.img:
background: true
parallel: true
- circle-android wait-for-boot
- adb shell input keyevent 82
- ./run_tests
- cp -r app/build/outputs $CIRCLE_ARTIFACTS || echo ok
- bash <(curl -s https://codecov.io/bash) || echo ok
general:
branches:
ignore:
- gh-pages
- poeditor
machine:
java:
version: oraclejdk8