mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
#1258 reduce severity of unknown nullness and reprioritise travis executions for linting
This commit is contained in:
parent
1929b81c76
commit
f593ab9620
11
.travis.yml
11
.travis.yml
@ -56,17 +56,18 @@ before_script:
|
||||
- adb shell input keyevent 82 &
|
||||
|
||||
script:
|
||||
- ./gradlew createKiwixDebugCoverageReport lintKiwixDebug jacocoTestKiwixDebugUnitTestReport assemble
|
||||
- ./gradlew lintKiwixDebug jacocoTestKiwixDebugUnitTestReport createKiwixDebugCoverageReport assemble
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
- ./gradlew kiwixtestUploadKiwix
|
||||
|
||||
after_failure:
|
||||
- export LOG_DIR = ${TRAVIS_HOME}/build/kiwix/kiwix-android/app/build/outputs/reports/androidTests/connected/flavors/KIWIX/
|
||||
- lynx --dump ${LOG_DIR}com.android.builder.testing.ConnectedDevice.html
|
||||
- lynx --dump ${LOG_DIR}com.android.builder.testing.html
|
||||
- lynx --dump ${LOG_DIR}org.kiwix.kiwixmobile.tests.BasicTest.html;
|
||||
- export REPORT_DIR=${TRAVIS_HOME}/build/kiwix/kiwix-android/app/build/outputs/reports/
|
||||
- export LOG_DIR=${REPORT_DIR}androidTests/connected/flavors/KIWIX/
|
||||
- lynx -dump ${LOG_DIR}index.html
|
||||
- lynx -dump ${REPORT_DIR}lint-results-kiwixDebug.html
|
||||
|
||||
|
||||
before_deploy:
|
||||
# - export APP_CHANGELOG=$(cat app/src/kiwix/play/release-notes/en-US/default.txt)
|
||||
|
@ -231,6 +231,7 @@ android {
|
||||
warningsAsErrors true
|
||||
ignore 'MissingTranslation', //TODO stop ignoring
|
||||
'CheckResult'
|
||||
warning 'UnknownNullness'
|
||||
baseline file("lint-baseline.xml")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user