Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 version: 2 | |
2 jobs: | |
3 build: | |
4 working_directory: ~/adblockplussbrowser | |
5 docker: | |
6 - image: circleci/android:api-25-alpha | |
7 environment: | |
8 JVM_OPTS: -Xmx3200m | |
9 steps: | |
10 - checkout | |
11 - restore_cache: | |
12 key: jars-{{ checksum "build.gradle" }}-{{ checksum "adblockplussbrow ser/build.gradle" }} | |
13 - run: | |
14 name: Download Dependencies | |
15 command: ./gradlew androidDependencies | |
16 - save_cache: | |
17 paths: | |
18 - ~/.gradle | |
19 key: jars-{{ checksum "build.gradle" }}-{{ checksum "adblockplussbrow ser/build.gradle" }} | |
20 - run: | |
21 name: Run Lint Checks | |
22 command: ./gradlew lint checkDebug | |
23 - store_artifacts: | |
24 path: adblockplussbrowser/build/reports/ | |
25 destination: reports/ | |
26 - run: | |
27 name: Assemble Debug | |
28 command: ./gradlew assembleDebug | |
29 - run: | |
30 name: Assemble Release | |
31 command: ./gradlew assembleRelease | |
32 - store_artifacts: | |
33 path: adblockplussbrowser/build/outputs/apk/ | |
34 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
| |
OLD | NEW |