This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #283 from sjardine/master
Fixed scripts on travis-ci successful build.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
set -ev | ||
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then | ||
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then | ||
echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>" > ~/settings.xml | ||
mvn deploy --settings ~/settings.xml | ||
mvn deploy -Prelease --settings ~/settings.xml | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ fi | |
|
||
echo -e "Publishing javadoc to gh-pages . . .\n" | ||
|
||
cp -R ./gwtbootstrap3-extras/target/javadoc $HOME/javadoc-latest | ||
cp -R -v ./target/apidocs $HOME/javadoc-latest | ||
|
||
git config --global user.email "[email protected]" | ||
git config --global user.name "travis-ci" | ||
|
@@ -28,7 +28,7 @@ cp -Rf $HOME/javadoc-latest ./snapshot/extras-apidocs | |
|
||
git add -f . | ||
git commit -m "Auto-push javadoc to gh-pages successful. (Travis build: $TRAVIS_BUILD_NUMBER)" | ||
git push -fq origin gh-pages > /dev/null | ||
git push -fq origin gh-pages | ||
|
||
echo -e "Published javadoc to gh-pages.\n" | ||
|
||
|