Move travis-logs steps to bash script