File tree 3 files changed +15
-7
lines changed
3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,21 @@ jobs:
135
135
force-avd-creation : false
136
136
emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
137
137
disable-animations : true
138
- script : ./gradlew testAllModulesTravis
138
+ script : ./gradlew task testAllModules () {
139
+ logger.info("Running android tests for all modules")
140
+ dependsOn('testAllModules', ':test-app:connectedAndroidTest')
141
+ }
142
+
143
+ task testAllModules () {
144
+ logger.info("Running android tests for Travis")
145
+ dependsOn(':android-sdk:connectedAndroidTest', ':android-sdk:test',
146
+ ' :event-handler:connectedAndroidTest' , ':event-handler:test',
147
+ ' :datafile-handler:connectedAndroidTest' , ':datafile-handler:test',
148
+ ' :user-profile:connectedAndroidTest' ,
149
+ ' :shared:connectedAndroidTest' ,
150
+ ' :odp:connectedAndroidTest' , ':odp:test'
151
+ )
152
+ }
139
153
publish :
140
154
if : startsWith(github.ref, 'refs/tags/')
141
155
uses : optimizely/android-sdk/.github/workflows/build.yml@master
Original file line number Diff line number Diff line change 1
1
# Optimizely Android SDK
2
2
[ ![ Apache 2.0] ( https://img.shields.io/github/license/nebula-plugins/gradle-extra-configurations-plugin.svg )] ( http://www.apache.org/licenses/LICENSE-2.0 )
3
- [ ![ Build Status] ( https://travis-ci.org/optimizely/android-sdk.svg?branch=master )] ( https://travis-ci.org/optimizely/android-sdk )
4
3
5
4
This repository houses the Android SDK for use with Optimizely Feature Experimentation and Optimizely Full Stack (legacy). The Android SDK depends on the [ Optimizely Java SDK] ( https://github.com/optimizely/java-sdk ) .
6
5
Original file line number Diff line number Diff line change @@ -102,11 +102,6 @@ task cleanAllModules () {
102
102
103
103
task testAllModules () {
104
104
logger. info(" Running android tests for all modules" )
105
- dependsOn(' testAllModulesTravis' , ' :test-app:connectedAndroidTest' )
106
- }
107
-
108
- task testAllModulesTravis () {
109
- logger. info(" Running android tests for Travis" )
110
105
dependsOn(' :android-sdk:connectedAndroidTest' , ' :android-sdk:test' ,
111
106
' :event-handler:connectedAndroidTest' , ' :event-handler:test' ,
112
107
' :datafile-handler:connectedAndroidTest' , ' :datafile-handler:test' ,
You can’t perform that action at this time.
0 commit comments