Skip to content

Commit 407ceb6

Browse files
[FSSDK-11076] chore: remove travis details from doc (#505)
* Remove travis
1 parent 061ebc8 commit 407ceb6

File tree

5 files changed

+9
-18
lines changed

5 files changed

+9
-18
lines changed

.github/workflows/android.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
with:
3636
# You should create a personal access token and store it in your repository
3737
token: ${{ secrets.CI_USER_TOKEN }}
38-
repository: 'optimizely/travisci-tools'
39-
path: 'home/runner/travisci-tools'
38+
repository: 'optimizely/ci-helper-tools'
39+
path: 'home/runner/ci-helper-tools'
4040
ref: 'master'
4141

4242
- name: set SDK Branch if PR
@@ -45,14 +45,12 @@ jobs:
4545
if: ${{ github.event_name == 'pull_request' }}
4646
run: |
4747
echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
48-
echo "TRAVIS_BRANCH=$HEAD_REF" >> $GITHUB_ENV
4948
- name: set SDK Branch if not pull request
5049
env:
5150
REF_NAME: ${{github.ref_name}}
5251
if: ${{ github.event_name != 'pull_request' }}
5352
run: |
5453
echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
55-
echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
5654
- name: Trigger build
5755
env:
5856
SDK: android
@@ -68,12 +66,11 @@ jobs:
6866
PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }}
6967
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
7068
UPSTREAM_SHA: ${{ github.sha }}
71-
TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }}
7269
EVENT_MESSAGE: ${{ github.event.message }}
7370
HOME: 'home/runner'
7471
run: |
7572
echo "$GITHUB_CONTEXT"
76-
home/runner/travisci-tools/trigger-script-with-status-update.sh
73+
home/runner/ci-helper-tools/trigger-script-with-status-update.sh
7774
build:
7875
uses: optimizely/android-sdk/.github/workflows/build.yml@master
7976
with:
@@ -135,13 +132,13 @@ jobs:
135132
force-avd-creation: false
136133
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
137134
disable-animations: true
138-
script: ./gradlew testAllModulesTravis
135+
script: ./gradlew testAllModules
139136
publish:
140137
if: startsWith(github.ref, 'refs/tags/')
141138
uses: optimizely/android-sdk/.github/workflows/build.yml@master
142139
with:
143140
action: ship
144-
travis_tag: ${GITHUB_REF#refs/*/}
141+
github_tag: ${GITHUB_REF#refs/*/}
145142
secrets:
146143
MAVEN_SIGNING_KEY_BASE64: ${{ secrets.MAVEN_SIGNING_KEY_BASE64 }}
147144
MAVEN_SIGNING_PASSPHRASE: ${{ secrets.MAVEN_SIGNING_PASSPHRASE }}
@@ -153,7 +150,7 @@ jobs:
153150
uses: optimizely/android-sdk/.github/workflows/build.yml@master
154151
with:
155152
action: ship
156-
travis_tag: BB-SNAPSHOT
153+
github_tag: BB-SNAPSHOT
157154
secrets:
158155
MAVEN_SIGNING_KEY_BASE64: ${{ secrets.MAVEN_SIGNING_KEY_BASE64 }}
159156
MAVEN_SIGNING_PASSPHRASE: ${{ secrets.MAVEN_SIGNING_PASSPHRASE }}

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
action:
77
required: true
88
type: string
9-
travis_tag:
9+
github_tag:
1010
required: false
1111
type: string
1212
secrets:
@@ -39,4 +39,4 @@ jobs:
3939
MAVEN_SIGNING_PASSPHRASE: ${{ secrets.MAVEN_SIGNING_PASSPHRASE }}
4040
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
4141
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
42-
run: TRAVIS_TAG=${{ inputs.travis_tag }} ./gradlew ${{ inputs.action }}
42+
run: github_tag=${{ inputs.github_tag }} ./gradlew ${{ inputs.action }}

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We welcome contributions and feedback! All contributors must sign our [Contribut
1313
7. Open a pull request from `YOUR_NAME/branch_name` to `master`.
1414
8. A repository maintainer will review your pull request and, if all goes well, squash and merge it!
1515

16-
All branches will be built and run against the entire test suite on Travis with every commit.
16+
All branches will be built and run against the entire test suite on Gtihub Actions with every commit.
1717

1818
The `test-app` module is built against a real Optimizely project. Changing the project ID will cause tests to fail. The test app should be used as a reference.
1919

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)