Add Travis CI hooks to create database and run tests.