Rearranged Travis config rules

Putting dependency install and doc building in `before_install` rule so
that I don't have to clean the build before running sphinx. Was having a
problem with find + rm