Added .travis.yml to build on travis-ci.