changed travis conf and pep8