summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorPablo Guardiola <guardiola31337@gmail.com>2017-07-21 14:03:37 +0200
committerGitHub <noreply@github.com>2017-07-21 14:03:37 +0200
commitb83d79708185f0d8def1d3638fcc702305cd3fab (patch)
treed4b974c35626cdf1d95533133cfaf930aaf87ceb /circle.yml
parentfb8d40ae6754ef1becd09cd91d45b1f980cf19e5 (diff)
downloadqtlocation-mapboxgl-b83d79708185f0d8def1d3638fcc702305cd3fab.tar.gz
[android] add lint using current baseline as starting point (#9318)
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml32
1 files changed, 32 insertions, 0 deletions
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
@@ -176,6 +177,18 @@ jobs:
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: |
echo "${MAPBOX_DEVELOPER_CONFIG_XML}" > platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/developer-config.xml
@@ -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