Update .gitignore

add *.pyc in python files
Update travis file

with python 2.7 version