forked from levibostian/Wendy-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
17 lines (17 loc) · 969 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dependencies:
pre:
# Android SDK Platform 25
- if [ ! -d "/usr/local/android-sdk-linux/platforms/android-25" ]; then echo y | android update sdk --no-ui --all --filter "android-25"; fi
# Android SDK Build-tools, revision 25.0.0
- if [ ! -d "/usr/local/android-sdk-linux/build-tools/25.0.0" ]; then echo y | android update sdk --no-ui --all --filter "build-tools-25.0.0"; fi
# Take what you need from below.
#- echo y | android update sdk --no-ui --all --filter tool,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository
- echo y | android update sdk --no-ui --all --filter extra-android-m2repository,extra-android-support
cache_directories:
- /usr/local/android-sdk-linux/platforms/android-25
- /usr/local/android-sdk-linux/build-tools/25.0.0
- /usr/local/android-sdk-linux/extras/android/m2repository
test:
override:
- ./gradlew assembleDebug
- ./gradlew test