-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
40 lines (33 loc) · 1.08 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
machine:
ruby:
version: ruby-2.3.1
java:
version: openjdk8
general:
branches:
only:
- master
- develop
dependencies:
pre:
- gem install fastlane
- echo y | android update sdk --no-ui --all --filter "tools,android-25,build-tools-25.0.0,platform-tools,extra-android-m2repository,extra-google-m2repository,extra-google-google_play_services"
- ./ci/export_licenses
override:
- ./gradlew dependencies
test:
override:
- fastlane tests gradle_flags:"-Pcom.android.build.threadPoolSize=1 -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs=\"-Xms1024m -Xmx1024m\" -Dorg.gradle.daemon=false"
pre:
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
- ./ci/disable_animations
post:
- ./ci/export_test_reports
deployment:
master:
branch: master
commands:
- fastlane production_release gradle_flags:"-Pcom.android.build.threadPoolSize=1 -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs=\"-Xms1024m -Xmx1024m\" -Dorg.gradle.daemon=false"