Skip to content

Commit

Permalink
Revert: circle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GASSZ001 authored and GASSZ001 committed May 29, 2017
1 parent 3d7b632 commit f8a0d5b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
general:
artifacts:
- /home/ubuntu/UseCases/app/build/outputs/apk/

machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
ADB_INSTALL_TIMEOUT: 60
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx3072M -XX:+HeapDumpOnOutOfMemoryError"'
java:
version: oraclejdk8

dependencies:
pre:
# - touch app/google-services.json
# - echo $GOOGLE_SERVICES_JSON > app/google-services.json
- echo y | android update sdk --no-ui --all --filter "tools,android-25,build-tools-25.0.3,platform-tools,extra-android-m2repository,extra-android-support,extra-google-m2repository,extra-google-google_play_services"
cache_directories:
- /usr/local/android-sdk-linux/tools
- /usr/local/android-sdk-linux/build-tools/25.0.3

# Comment the test stuff out (or remove it) if you don't need it.
test:
pre:
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
# unlock emulator
- sleep 30
- adb shell input keyevent 82

override:
# - ./gradlew clean assemble
# This will run the tests:
- ./gradlew assemble connectedDebugAndroidTest -PdisablePreDex --console=plain --info

post:
- cp -r app/build/outputs $CIRCLE_ARTIFACTS
- cp -r app/build/outputs/androidTest-results/connected/ $CIRCLE_TEST_REPORTS

0 comments on commit f8a0d5b

Please sign in to comment.