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 1
1
language : android
2
+ # you MUST mention trusty https://docs.travis-ci.com/user/languages/android/
3
+ dist : trusty
2
4
env :
3
5
global :
4
6
# These parameters should match the parameters for build tools and sdk versions in the gradle file
@@ -41,7 +43,7 @@ before_script:
41
43
- echo $TRAVIS_TAG
42
44
- echo no | android create avd --force -n test -t android-$EMULATOR_API --abi armeabi-v7a
43
45
- emulator -avd test -no-audio -no-window &
44
- - android-wait-for-emulator
46
+ - scripts/ android-wait-for-emulator.sh
45
47
- adb shell input keyevent 82 &
46
48
addons :
47
49
srcclr : true
Original file line number Diff line number Diff line change 1
1
# Optimizely Android X SDK Changelog
2
2
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
+
3
9
## 3.1.0
4
10
May 13th, 2019
5
11
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ dependencies {
83
83
androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
84
84
androidTestImplementation " com.noveogroup.android:android-logger:$android_logger_ver "
85
85
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 "
87
87
}
88
88
89
89
uploadArchives {
Original file line number Diff line number Diff line change 55
55
target_sdk_version = 28
56
56
java_core_ver = " 3.1.0"
57
57
android_logger_ver = " 1.3.6"
58
- jacksonversion= " 2.9.8 "
58
+ jacksonversion= " 2.9.9.1 "
59
59
support_annotations_ver = " 24.2.1"
60
60
junit_ver = " 4.12"
61
61
mockito_ver = " 1.9.5"
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
70
70
androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
71
71
androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
72
72
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 "
74
74
}
75
75
76
76
uploadArchives {
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ dependencies {
71
71
androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
72
72
androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
73
73
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 "
75
75
}
76
76
77
77
uploadArchives {
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 {
74
74
androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
75
75
androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
76
76
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 "
78
78
}
79
79
80
80
uploadArchives {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ dependencies {
48
48
// https://mvnrepository.com/artifact/org.slf4j/slf4j-android
49
49
implementation group : ' org.slf4j' , name : ' slf4j-android' , version : ' 1.7.25'
50
50
// 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 "
52
52
53
53
testImplementation " junit:junit:$junit_ver "
54
54
testImplementation " org.mockito:mockito-core:$mockito_ver "
@@ -68,5 +68,5 @@ dependencies {
68
68
// androidTestImplementation 'com.optimizely.ab:android-sdk:1.0.0'
69
69
androidTestImplementation project(' :android-sdk' )
70
70
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 "
72
72
}
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
70
70
androidTestImplementation " com.google.dexmaker:dexmaker:$dexmaker_ver "
71
71
androidTestImplementation " com.google.dexmaker:dexmaker-mockito:$dexmaker_ver "
72
72
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 "
74
74
}
75
75
76
76
uploadArchives {
You can’t perform that action at this time.
0 commit comments