Enable testing using travis-ci.
Merge branch 'travis' into all-in-one