This repository was archived by the owner on Aug 7, 2018. It is now read-only.
forked from broo2s/brut.apktool
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcircle.yml
More file actions
41 lines (40 loc) · 1.26 KB
/
circle.yml
File metadata and controls
41 lines (40 loc) · 1.26 KB
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
41
# Configuration for CircleCI
# https://circleci.com/gh/tony19/apktool-lib
version: 2.0
jobs:
build:
branches:
ignore: gh-pages
working_directory: ~/code
docker:
- image: circleci/android:api-26-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "apktool-lib/build.gradle" }}
# - run:
# name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
# command: sudo chmod +x ./gradlew
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "apktool-lib/build.gradle" }}
- run:
name: Run Tests
command: ./gradlew check assembleDebug assembleRelease --parallel
- store_artifacts:
path: apktool-lib/build/reports
destination: reports
- store_artifacts:
path: apktool-lib/build/outputs
destination: outputs
- store_test_results:
path: apktool-lib/build/test-results
- run:
name: Deploy snapshot
command: scripts/deploysnapshot.sh