Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test tls #368

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ android:
- build-tools-27.0.3
- android-26

script:
- ./gradlew test

after_success:
- .utility/initiate-publish.sh
Expand All @@ -17,4 +15,4 @@ env:
- secure: hLpLbEi5ThL/+qHuEmJvvJkzfBrXbyOjDbd9fSSYESSQuGUoEGH3UM7Ws6eJynv/G0w+xmJIQ4vlDbSBa53vaYwHB2l0Rhcoj3XHHvpMwlckIh/TGA+o4Bd5DHN61Jatm6ja8PFRAhNF4adsLUwObrE6Z9ydepKFYBWSjP4xEws=

git:
depth: 9999999
depth: 9999999
4 changes: 2 additions & 2 deletions .utility/initiate-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# to use the internal Jenkins job.

echo Repo: $TRAVIS_REPO_SLUG Pull Request: $TRAVIS_PULL_REQUEST Branch: $TRAVIS_BRANCH
if [ "$TRAVIS_REPO_SLUG" == "box/box-android-sdk" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
export GIT_COUNT=`git rev-list HEAD --count`
if [ "$TRAVIS_REPO_SLUG" == "box/box-android-sdk" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "tls" ]; then
export GIT_COUNT=997788
echo "Starting publish to Sonatype... $GIT_COUNT"

./gradlew uploadArchives
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions box-content-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ android {
} else {
/* Update in BoxConfig.SDK_VERSION as well */
versionCode 40011
versionName "4.0.11"
version "4.0.11"
versionName "4.0.11.895678-SNAPSHOT"
version "4.0.11.895678-SNAPSHOT"
}
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ public class BoxConstants {

public static final String TAG = "BoxContentSdk";

public static final String BASE_URI = "https://api.box.com/2.0";
public static final String BASE_URI = "https://api-test.box.com/2.0";
public static final String BASE_UPLOAD_URI = "https://upload.box.com/api/2.0";
public static final String OAUTH_BASE_URI = "https://api.box.com";
public static final String OAUTH_BASE_URI = "https://api-test.box.com";

public static final String OAUTH_BASE_URI_TEMPLATE = "https://api.%s";
public static final String BASE_URI_TEMPLATE = "https://api.%s/2.0";
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading