Add network constraint for travis-ci build