The tests can be organized by goal for efficiency and clarity.
deploy is before install because this stage is faster
and if it fails - it eliminates the need to continue - which is a
positive for jobs waiting in the cue.
There are other ways to improve efficiency but this one seemed easy to implement with minimal changes to the .travis.yml configuration.