0

My Travis build is timing out for some reason. Here is the link to the logs: https://travis-ci.org/madedotcom/atomicpuppy/builds/70202335

And my current travis yml https://github.com/madedotcom/atomicpuppy/blob/master/.travis.yml

I have tried running it with a normal script command

script: run-contexts --verbose

As well as creating a bash script that ran the tests and exited with $?

script: ./run-tests.sh

# run-tests.sh
run-contexts --verbose ./tests 2>/dev/null
exit $?

Even this didn't help.

My best guess is that there is some task running in the background of my Travis build due to depending on asynchronous python libs, but how can I debug that on Travis? Is there any way to increase verbosity?

Worth adding that locally tests are very fast to run, and exit with 0 without any problems, using the same commands.

4

1 回答 1

0

解决方案: 升级HTTPretty的版本。

事实证明,一个名为 HTTPretty 的库存在一个已知问题(问题可以在此处找到),导致测试运行程序在 travis 上停止而不会产生任何错误。

于 2015-08-03T20:36:14.107 回答