Update .travis.yml to install networkx