Update Travis CI config to fix warnings