This repository was archived by the owner on Jun 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: 2.1
22executors :
33 default :
44 docker :
5- - image : circleci/android:api-28
5+ - image : circleci/android:api-27
66 environment :
77 JAVA_OPTS : -Xmx3200m
88
@@ -22,7 +22,7 @@ commands:
2222 steps :
2323 - run :
2424 name : Run Tests
25- command : ./gradlew lint test
25+ command : ./gradlew studyplus-android-sdk2: lint studyplus-android-sdk2: test
2626 - store_artifacts :
2727 path : studyplus-android-sdk2/build/reports
2828 destination : reports
@@ -35,7 +35,7 @@ commands:
3535 key : v1-danger-cache-{{ checksum "Gemfile.lock" }}
3636 - run :
3737 name : Bundle install for Danger and fastlane
38- command : bundle check || bundle install --path vendor/bundle --clean
38+ command : bundle check --path vendor/bundle || bundle install --jobs=4 --retry=3 --path vendor/bundle --clean
3939 - save_cache :
4040 paths :
4141 - vendor/bundle
@@ -47,23 +47,24 @@ commands:
4747 command : bundle exec danger
4848
4949jobs :
50- run_test :
50+ unit_test :
5151 executor :
5252 name : default
5353 steps :
5454 - checkout
5555 - setup_android
5656 - unit_test
57- run_danger :
57+ check_pr :
5858 executor :
5959 name : default
6060 steps :
6161 - checkout
62+ - setup_android
6263 - setup_bundle
6364 - run_danger
6465
6566workflows :
6667 pull_request :
6768 jobs :
68- - run_test
69- - run_danger
69+ - unit_test
70+ - check_pr
Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ warn("A pull request must have some assignees") if github.pr_json["assignee"].ni
2929#
3030####
3131android_lint . gradle_task = "studyplus-android-sdk2:lint"
32- android_lint . report_file = "studyplus-android-sdk2/build/reports/lint/lint-result .xml"
32+ android_lint . report_file = "studyplus-android-sdk2/build/reports/lint-results .xml"
3333android_lint . filtering = true
3434android_lint . lint ( inline_mode : true )
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ android {
6666 includeAndroidResources = true
6767 }
6868 }
69+
70+ lintOptions {
71+ abortOnError false
72+ }
6973}
7074
7175dependencies {
You can’t perform that action at this time.
0 commit comments