Upload documentation to GitHub only if generation succeeded
Merge pull request #752 from taketwo/update-travis-script

Upload documentation to GitHub only if generation succeeded