I am trying to test a package build on travis-ci.org, but am coming up against a timeout with pip install scipy:
Installing collected packages: scipy Runni
The solution is straightforward. Just prefix the installation command with travis_wait. More details are available at https://docs.travis-ci.com/user/common-build-problems.