summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index ccdd5aaee..093954036 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -39,6 +39,10 @@ workflows:
- run:
name: Build debug
command: ./gradlew assembleDebug -PdisablePreDex
+ - store_artifacts:
+ name: Uploading apk artifact
+ path: app/build/outputs/apk/play/debug/app-play-debug.apk
+ destination: app-play-debug.apk
- run:
name: Execute debug unit tests
command: ./gradlew :core:testPlayDebugUnitTest -PdisablePreDex
@@ -80,3 +84,13 @@ workflows:
echo "Comparing to $branchBaseCommit"
curl -s -L https://github.com/yangziwen/diff-checkstyle/releases/download/0.0.4/diff-checkstyle.jar > diff-checkstyle.jar
java -Dconfig_loc=config/checkstyle -jar diff-checkstyle.jar -c config/checkstyle/checkstyle-new-code.xml --git-dir . --base-rev $branchBaseCommit
+ - build:
+ name: Lint app
+ build-steps:
+ - run:
+ name: Lint app
+ command: ./gradlew app:lintPlayRelease
+ - store_artifacts:
+ name: Uploading lint reports
+ path: app/build/reports/lint-results-playRelease.html
+ destination: lint-results.html