Only use Coveralls on Travis
Extract common find-or-create pattern
Split commands into their own methods
Clean up command dispatching
Uniform interface for commands