Skip to content

Commit

Permalink
use the release javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Aug 9, 2017
1 parent 5e9f71e commit 3313ff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install: true

script:
- ./gradlew build jacocoTestReport
- ./gradlew generateDebugJavadoc
- ./gradlew generateReleaseJavadoc
- echo no | android create avd --force -n test -t $API --abi $ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
Expand Down
4 changes: 1 addition & 3 deletions .utility/push-javadoc-to-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ if [ "$TRAVIS_REPO_SLUG" == "watson-developer-cloud/android-sdk" ] && [ "$TRAVIS
# on tagged builds, $TRAVIS_BRANCH is the tag (e.g. v1.2.3), otherwise it's the branch name (e.g. master)
rm -rf docs/$TRAVIS_BRANCH
mkdir -p docs/$TRAVIS_BRANCH
echo "Current directory"
pwd
cp -rf ../library/javaDoc/debug/* docs/$TRAVIS_BRANCH
cp -rf ../library/javaDoc/release/* docs/$TRAVIS_BRANCH
../.utility/generate_index_html.sh > index.html

# update the latest/ symlink
Expand Down

0 comments on commit 3313ff0

Please sign in to comment.