Skip to content

Commit deee728

Browse files
committed
Update CI build configuration
1 parent e256e2b commit deee728

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

circle.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
checkout:
2-
post:
3-
- cp -r .circleci/licenses/. $ANDROID_HOME/licenses
4-
51
machine:
62
java:
73
version:
84
oraclejdk8
95

10-
test:
6+
dependencies:
117
pre:
12-
- emulator -avd circleci-android24 -no-window:
13-
background: true
14-
parallel: true
8+
# Android SDK Build-tools, revision 25.0.3, makes sure we've accepted the license
9+
- if [ ! -d "/usr/local/android-sdk-linux/build-tools/25.0.3" ]; then echo y | android update sdk --no-ui --all --filter "build-tools-25.0.3"; fi
10+
cache_directories:
11+
- /usr/local/android-sdk-linux/build-tools/25.0.3
12+
post:
13+
- emulator -avd circleci-android22 -no-window:
14+
background: true
15+
parallel: true
16+
17+
test:
1518
override:
1619
- ./gradlew test
1720
- circle-android wait-for-boot

0 commit comments

Comments
 (0)