Use heart mechanism to cleanup temporary directory
Add travis build configuration