Skip to content

Commit 081117b

Browse files
Remove travis from doc
1 parent 061ebc8 commit 081117b

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.github/workflows/android.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,21 @@ jobs:
135135
force-avd-creation: false
136136
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
137137
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+
}
139153
publish:
140154
if: startsWith(github.ref, 'refs/tags/')
141155
uses: optimizely/android-sdk/.github/workflows/build.yml@master

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Optimizely Android SDK
22
[![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)
43

54
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).
65

build.gradle

-5
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,6 @@ task cleanAllModules () {
102102

103103
task testAllModules () {
104104
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")
110105
dependsOn(':android-sdk:connectedAndroidTest', ':android-sdk:test',
111106
':event-handler:connectedAndroidTest', ':event-handler:test',
112107
':datafile-handler:connectedAndroidTest', ':datafile-handler:test',

0 commit comments

Comments
 (0)