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 &
|
- adb shell input keyevent 82 &
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew createKiwixDebugCoverageReport lintKiwixDebug jacocoTestKiwixDebugUnitTestReport assemble
|
- ./gradlew lintKiwixDebug jacocoTestKiwixDebugUnitTestReport createKiwixDebugCoverageReport assemble
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
- ./gradlew kiwixtestUploadKiwix
|
- ./gradlew kiwixtestUploadKiwix
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- export LOG_DIR = ${TRAVIS_HOME}/build/kiwix/kiwix-android/app/build/outputs/reports/androidTests/connected/flavors/KIWIX/
|
- export REPORT_DIR=${TRAVIS_HOME}/build/kiwix/kiwix-android/app/build/outputs/reports/
|
||||||
- lynx --dump ${LOG_DIR}com.android.builder.testing.ConnectedDevice.html
|
- export LOG_DIR=${REPORT_DIR}androidTests/connected/flavors/KIWIX/
|
||||||
- lynx --dump ${LOG_DIR}com.android.builder.testing.html
|
- lynx -dump ${LOG_DIR}index.html
|
||||||
- lynx --dump ${LOG_DIR}org.kiwix.kiwixmobile.tests.BasicTest.html;
|
- lynx -dump ${REPORT_DIR}lint-results-kiwixDebug.html
|
||||||
|
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
# - export APP_CHANGELOG=$(cat app/src/kiwix/play/release-notes/en-US/default.txt)
|
# - export APP_CHANGELOG=$(cat app/src/kiwix/play/release-notes/en-US/default.txt)
|
||||||
|
@ -231,6 +231,7 @@ android {
|
|||||||
warningsAsErrors true
|
warningsAsErrors true
|
||||||
ignore 'MissingTranslation', //TODO stop ignoring
|
ignore 'MissingTranslation', //TODO stop ignoring
|
||||||
'CheckResult'
|
'CheckResult'
|
||||||
|
warning 'UnknownNullness'
|
||||||
baseline file("lint-baseline.xml")
|
baseline file("lint-baseline.xml")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user