[travis] Fix allow_failures syntax.
[travis] Retrieve gh-pages before generating the documentation