Add Travis CI configuration and build status image

This will (unfortunately) only work for the GitHub mirror since Travis is exclusive to GitHub.