Enable testing using travis-ci

Make it easy to use travis-ci for testing on github mirror and forks.