updated travis yml to fix api key lookup issue and automate db setup