Added sample gitignore files
Updated travis yml
Linux compat. fix