Updates Travis CI configuration to install necessary libraries before performing tests.