Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjunxiao committed Jul 12, 2017
1 parent c331304 commit 4d772c5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions cricle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
machine:
java:
version: oraclejdk8
environment:
ANDROID_HOME: /usr/local/android-sdk-linux

dependencies:
pre:
- mkdir -p "$ANDROID_HOME/licenses"
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"


override:
- echo y | android update sdk --no-ui --filter "android-25"
- echo y | android update sdk --no-ui --filter "build-tools-25.0.2"
- 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"
# we are cheating because there is a problem with constraint layout ATM
# see: https://code.google.com/p/android/issues/detail?id=212128
- ./gradlew dependencies || true

test:
override:
# - ./gradlew assembleRelease
- ./gradlew build
# post:
# - cp -R ./XXXXXXXX/build/apk $CIRCLE_ARTIFACTS

0 comments on commit 4d772c5

Please sign in to comment.