From b83d79708185f0d8def1d3638fcc702305cd3fab Mon Sep 17 00:00:00 2001 From: Pablo Guardiola Date: Fri, 21 Jul 2017 14:03:37 +0200 Subject: [android] add lint using current baseline as starting point (#9318) --- circle.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'circle.yml') diff --git a/circle.yml b/circle.yml index 218e5822e3..506fbddb33 100644 --- a/circle.yml +++ b/circle.yml @@ -152,6 +152,7 @@ jobs: LIBSYSCONFCPUS: 4 JOBS: 4 BUILDTYPE: Debug + IS_LOCAL_DEVELOPMENT: false steps: - checkout - *generate-cache-key @@ -175,6 +176,18 @@ jobs: - run: name: Check Java code style command: make android-checkstyle + - run: + name: Check Android modules for potential bugs (Lint SDK) + command: | + make android-lint-sdk + - run: + name: Check Android modules for potential bugs (Lint Test App) + command: | + make android-lint-test-app + - run: + name: Check Android modules for potential bugs (Lint Wear Test App) + command: | + make android-lint-wear-app - run: name: Build Test APK command: | @@ -213,6 +226,24 @@ jobs: - store_artifacts: path: platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk destination: . + - store_artifacts: + path: platform/android/MapboxGLAndroidSDK/build/reports/lint-results.html + - store_artifacts: + path: platform/android/MapboxGLAndroidSDK/build/reports/lint-results.xml + - store_artifacts: + path: platform/android/MapboxGLAndroidSDK/lint-baseline.xml + - store_artifacts: + path: platform/android/MapboxGLAndroidSDKTestApp/build/reports/lint-results.html + - store_artifacts: + path: platform/android/MapboxGLAndroidSDKTestApp/build/reports/lint-results.xml + - store_artifacts: + path: platform/android/MapboxGLAndroidSDKTestApp/lint-baseline.xml + - store_artifacts: + path: platform/android/MapboxGLAndroidSDKWearTestApp/build/reports/lint-results.html + - store_artifacts: + path: platform/android/MapboxGLAndroidSDKWearTestApp/build/reports/lint-results.xml + - store_artifacts: + path: platform/android/MapboxGLAndroidSDKWearTestApp/lint-baseline.xml # ------------------------------------------------------------------------------ android-release-all: @@ -223,6 +254,7 @@ jobs: LIBSYSCONFCPUS: 4 JOBS: 4 BUILDTYPE: Release + IS_LOCAL_DEVELOPMENT: false steps: - checkout - *generate-cache-key -- cgit v1.2.1