Add travis support to run tests on pull requests and merges.

@seven1m  can this get turned on in travis before merge?