Add travis hooks to rc files