Update travis to model
Fix pep8