File tree Expand file tree Collapse file tree 10 files changed +49
-9
lines changed Expand file tree Collapse file tree 10 files changed +49
-9
lines changed Original file line number Diff line number Diff line change 11language : android
2+ # you MUST mention trusty https://docs.travis-ci.com/user/languages/android/
3+ dist : trusty
24env :
35 global :
46# These parameters should match the parameters for build tools and sdk versions in the gradle file
@@ -41,7 +43,7 @@ before_script:
4143 - echo $TRAVIS_TAG
4244 - echo no | android create avd --force -n test -t android-$EMULATOR_API --abi armeabi-v7a
4345 - emulator -avd test -no-audio -no-window &
44- - android-wait-for-emulator
46+ - scripts/ android-wait-for-emulator.sh
4547 - adb shell input keyevent 82 &
4648addons :
4749 srcclr : true
Original file line number Diff line number Diff line change 11# Optimizely Android X SDK Changelog
22
3+ ## 3.1.1
4+ July 23rd, 2019
5+
6+ ### Bug Fixes:
7+ * SourceClear flagged jackson-databind 2.9.8 fixed in 2.9.9.1
8+
39## 3.1.0
410May 13th, 2019
511
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ dependencies {
8383 androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
8484 androidTestImplementation " com.noveogroup.android:android-logger:$android_logger_ver "
8585 androidTestImplementation " com.google.code.gson:gson:$gson_ver "
86- androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:2.9.8 "
86+ androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:$j acksonversion "
8787}
8888
8989uploadArchives {
Original file line number Diff line number Diff line change 5555 target_sdk_version = 28
5656 java_core_ver = " 3.1.0"
5757 android_logger_ver = " 1.3.6"
58- jacksonversion= " 2.9.8 "
58+ jacksonversion= " 2.9.9.1 "
5959 support_annotations_ver = " 24.2.1"
6060 junit_ver = " 4.12"
6161 mockito_ver = " 1.9.5"
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
7070 androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
7171 androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
7272 androidTestImplementation " com.noveogroup.android:android-logger:$android_logger_ver "
73- androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:2.9.8 "
73+ androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:$j acksonversion "
7474}
7575
7676uploadArchives {
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ dependencies {
7171 androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
7272 androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
7373 androidTestImplementation " com.noveogroup.android:android-logger:$android_logger_ver "
74- androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:2.9.8 "
74+ androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:$j acksonversion "
7575}
7676
7777uploadArchives {
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Originally written by Ralf Kistner <ralf@embarkmobile.com>, but placed in the public domain
4+
5+ set +e
6+
7+ bootanim=" "
8+ failcounter=0
9+ # timeout_in_sec=360 # 6 minutes
10+ timeout_in_sec=900 # 15 minutes
11+ echo " Waiting for emulator to start"
12+ until [[ " $bootanim " =~ " stopped" ]]; do
13+ bootanim=` adb -e shell getprop init.svc.bootanim 2>&1 & `
14+ # echo bootanim=\`$bootanim\`
15+ if [[ " $bootanim " =~ " device not found" || " $bootanim " =~ " device offline"
16+ || " $bootanim " =~ " running" || " $bootanim " =~ " error: no emulators found" ]]; then
17+ let " failcounter += 5"
18+ echo -n " ."
19+ if [[ $failcounter -gt timeout_in_sec ]]; then
20+ echo " Timeout ($timeout_in_sec seconds) reached; failed to start emulator"
21+ exit 1
22+ fi
23+ else
24+ if [[ ! " $bootanim " =~ " stopped" ]]; then
25+ echo " unexpected behavior from (adb -e shell getprop init.svc.bootanim): $bootanim "
26+ exit 1
27+ fi
28+ fi
29+ sleep 5
30+ done
31+
32+ echo " Emulator is ready (took $failcounter seconds)"
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ dependencies {
7474 androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
7575 androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
7676 androidTestImplementation " com.noveogroup.android:android-logger:$android_logger_ver "
77- androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:2.9.8 "
77+ androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:$j acksonversion "
7878}
7979
8080uploadArchives {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ dependencies {
4848 // https://mvnrepository.com/artifact/org.slf4j/slf4j-android
4949 implementation group : ' org.slf4j' , name : ' slf4j-android' , version : ' 1.7.25'
5050 // EXAMPLE REPLACE gson json parsing with jackson-databind json parsing.
51- implementation group : ' com.fasterxml.jackson.core' , name : ' jackson-databind' , version : ' 2.9.8 '
51+ implementation group : ' com.fasterxml.jackson.core' , name : ' jackson-databind' , version : " $j acksonversion "
5252
5353 testImplementation " junit:junit:$junit_ver "
5454 testImplementation " org.mockito:mockito-core:$mockito_ver "
@@ -68,5 +68,5 @@ dependencies {
6868 // androidTestImplementation 'com.optimizely.ab:android-sdk:1.0.0'
6969 androidTestImplementation project(' :android-sdk' )
7070 androidTestImplementation project(path : ' :shared' )
71- androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:2.9.8 "
71+ androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:$j acksonversion "
7272}
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
7070 androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
7171 androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
7272 androidTestImplementation " com.noveogroup.android:android-logger:$android_logger_ver "
73- androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:2.9.8 "
73+ androidTestImplementation " com.fasterxml.jackson.core:jackson-databind:$j acksonversion "
7474}
7575
7676uploadArchives {
You can’t perform that action at this time.
0 commit comments