Adds travis support.

Suggested by @Berdir You can use --depth 1 to speed up the git clone and only get the current version and not all of the history too.