forked from splitwise/TokenAutoComplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
27 lines (24 loc) · 831 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
machine:
java:
version:
oraclejdk8
dependencies:
pre:
# Android SDK Build-tools, revision 26.0.2, makes sure we've accepted the license
- if [ ! -d "/usr/local/android-sdk-linux/build-tools/26.0.2" ]; then echo y | android update
sdk --no-ui --all --filter "build-tools-26.0.2"; fi
# Android SDK 26
- if [ ! -d "/usr/local/android-sdk-linux/platforms/android-26" ]; then echo y | android update
sdk --no-ui --all --filter "android-26"; fi
cache_directories:
- /usr/local/android-sdk-linux/build-tools/26.0.2
- /usr/local/android-sdk-linux/platforms/android-26
post:
- emulator -avd circleci-android22 -no-window:
background: true
parallel: true
test:
override:
- ./gradlew test
- circle-android wait-for-boot
- ./gradlew connectedAndroidTest