Updated travis script to install dependencies