#98 revert changes to travis.yml

This commit is contained in:
Sean Mac Gillicuddy 2019-07-03 11:31:40 +01:00
parent e25f833876
commit a65b0cc646

View File

@ -48,20 +48,19 @@ licenses:
- ".+"
before_script:
# - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 100M
# - emulator -avd test -no-audio -no-window &
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 100M
- emulator -avd test -no-audio -no-window &
script:
- ./gradlew lintKiwixDebug
# jacocoTestKiwixDebugUnitTestReport
# - android-wait-for-emulator
# - adb shell input keyevent 82 &
# - adb -e logcat *:D > logcat.log &
# - ./gradlew createKiwixDebugCoverageReport
- ./gradlew lintKiwixDebug jacocoTestKiwixDebugUnitTestReport
- android-wait-for-emulator
- adb shell input keyevent 82 &
- adb -e logcat *:D > logcat.log &
- ./gradlew createKiwixDebugCoverageReport
after_success:
# - bash <(curl -s https://codecov.io/bash)
# - ./gradlew kiwixtestUploadKiwix assembleKiwixRelease
- bash <(curl -s https://codecov.io/bash)
- ./gradlew kiwixtestUploadKiwix assembleKiwixRelease
after_failure:
- export LOG_DIR = ${TRAVIS_HOME}/build/kiwix/kiwix-android/app/build/outputs/reports/androidTests/connected/flavors/KIWIX/