javadoc publish script updated. Added secure var to travis.yml