Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: .circleci/config.yml

Issue 29500562: Issue 5389 - Create basic circle ci build script (Closed)
Patch Set: Created July 28, 2017, 10:02 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .circleci/config.yml
===================================================================
new file mode 100644
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,34 @@
+version: 2
+jobs:
+ build:
+ working_directory: ~/adblockplussbrowser
+ docker:
+ - image: circleci/android:api-25-alpha
+ environment:
+ JVM_OPTS: -Xmx3200m
+ steps:
+ - checkout
+ - restore_cache:
+ key: jars-{{ checksum "build.gradle" }}-{{ checksum "adblockplussbrowser/build.gradle" }}
+ - run:
+ name: Download Dependencies
+ command: ./gradlew androidDependencies
+ - save_cache:
+ paths:
+ - ~/.gradle
+ key: jars-{{ checksum "build.gradle" }}-{{ checksum "adblockplussbrowser/build.gradle" }}
+ - run:
+ name: Run Lint Checks
+ command: ./gradlew lint checkDebug
+ - store_artifacts:
+ path: adblockplussbrowser/build/reports/
+ destination: reports/
+ - run:
+ name: Assemble Debug
+ command: ./gradlew assembleDebug
+ - run:
+ name: Assemble Release
+ command: ./gradlew assembleRelease
+ - store_artifacts:
+ path: adblockplussbrowser/build/outputs/apk/
+ destination: apks/
diegocarloslima 2017/08/07 21:25:21 Looks good, but where some needed variables such a
jens 2017/08/08 10:36:49 CircleCi provides docker images for Android builds
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld