Add .travis.yml.

This is done in order to enable CI at travis-ci.org.