Added .travis.yml file

Copied from master-1.2.x branch to prevent build failures, as 2.0 is
currently not setup for builds.