Refactor the Travis running into a shell command