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
2
2
executors :
3
3
default :
4
4
docker :
5
- - image : circleci/android:api-28
5
+ - image : circleci/android:api-27
6
6
environment :
7
7
JAVA_OPTS : -Xmx3200m
8
8
@@ -22,7 +22,7 @@ commands:
22
22
steps :
23
23
- run :
24
24
name : Run Tests
25
- command : ./gradlew lint test
25
+ command : ./gradlew studyplus-android-sdk2: lint studyplus-android-sdk2: test
26
26
- store_artifacts :
27
27
path : studyplus-android-sdk2/build/reports
28
28
destination : reports
@@ -35,7 +35,7 @@ commands:
35
35
key : v1-danger-cache-{{ checksum "Gemfile.lock" }}
36
36
- run :
37
37
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
39
39
- save_cache :
40
40
paths :
41
41
- vendor/bundle
@@ -47,23 +47,24 @@ commands:
47
47
command : bundle exec danger
48
48
49
49
jobs :
50
- run_test :
50
+ unit_test :
51
51
executor :
52
52
name : default
53
53
steps :
54
54
- checkout
55
55
- setup_android
56
56
- unit_test
57
- run_danger :
57
+ check_pr :
58
58
executor :
59
59
name : default
60
60
steps :
61
61
- checkout
62
+ - setup_android
62
63
- setup_bundle
63
64
- run_danger
64
65
65
66
workflows :
66
67
pull_request :
67
68
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
29
29
#
30
30
####
31
31
android_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"
33
33
android_lint . filtering = true
34
34
android_lint . lint ( inline_mode : true )
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ android {
66
66
includeAndroidResources = true
67
67
}
68
68
}
69
+
70
+ lintOptions {
71
+ abortOnError false
72
+ }
69
73
}
70
74
71
75
dependencies {
You can’t perform that action at this time.
0 commit comments