File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,22 @@ android:
1515 - ' android-sdk-preview-license-.+'
1616 - ' android-sdk-license-.+'
1717 - ' google-gdk-license-.+'
18+
19+ branches :
20+ only :
21+ - master
22+
1823before_install :
19- # Android SDK installation is a mess, especially with licenses. Not sure if all of this is required, but it works.
20- - echo "$ANDROID_HOME"
21- - mkdir -p "$ANDROID_HOME/licenses"
22- - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
23- - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
24- - yes | sdkmanager "platforms;android-27"
24+ # Android SDK installation is a mess, especially with licenses. Not sure if all of this is required, but it works.
25+ - echo "$ANDROID_HOME"
26+ - mkdir -p "$ANDROID_HOME/licenses"
27+ - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
28+ - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
29+ - yes | sdkmanager "platforms;android-27"
2530
2631script :
27- # build includes lint and test
28- - TERM=dumb ./gradlew build
32+ # build includes lint and test
33+ - TERM=dumb ./gradlew build
2934
3035after_failure :
31- - cat **/build/reports/lint-results.xml
36+ - cat **/build/reports/lint-results.xml
You can’t perform that action at this time.
0 commit comments