Skip to content

Commit eed590a

Browse files
committed
Moving javadoc gen to the bash script and changing the way we call the bash script for the javadocs deploy - issue #6
1 parent 76fe2bc commit eed590a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ deploy:
3636
on:
3737
branch: master
3838
- provider: script
39-
script:
40-
- mvn javadoc:javadoc
41-
- ./scripts/publish-javadocs-to-github-pages.sh
39+
script: bash scripts/publish-javadocs-to-github-pages.sh
4240
on:
4341
branch: publish-javadocs-issue-#6
4442

scripts/publish-javadocs-to-github-pages.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ echo "HELLO WORLD"
55

66
# Get to the Travis build directory, configure git and clone the repo
77
cd $HOME
8+
mvn javadoc:javadoc
89
currentAppVersion=`mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec`
910
git config --global user.email "[email protected]"
1011
git config --global user.name "travis-ci"

0 commit comments

Comments
 (0)