Updated Travis configuration to install dependencies