Add travis support. Fix inconsitent indentation.