[Travis] Changed the order of the operations so that we setup db before installing dependencies