"Clean up" of the travis-ci script

Let's utilize the different build lifecycle steps as they are meant to
be used.
Fixing working directorty for coverity build

We need to be in the source repository.