Added a badge for travis-ci output
Fixed the script for Travis