Fix travis script and add badge to readme.