Add Travis CI configuration and build status image

Travis runs the test suite with different Python interpreters from a GitHub post-receive hook.