python - Travis-ci build fails but tests pass locally -
python - Travis-ci build fails but tests pass locally -
i've submitted (pretty little really) pull request sympy on github. tests pass locally, build has failed in module doesn't seem have have changed.
my pull request: https://github.com/sympy/sympy/pull/8281
the failing travis-ci build: https://travis-ci.org/sympy/sympy/builds/38577918
this output:
________________________________________________________________________________ ________________________ sympy.stats.crv_types.uniform _________________________ file "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/sympy-0.7.5_git-py3.4.egg/sympy/stats/crv_types.py", line 2217, in sympy.stats.crv_types.uniform failed example: cdf(x)(z) expected: -a/(-a + b) + z/(-a + b) got: z/(-a + b) - min(a, z)/(-a + b)
the code failing when tries run test in python 3.4 (but passes other versions of python).
my alter unit test (sympy.physics.quantum.tests.test_qubit.py) , can't find connection failing code (sympy.stats.crv_types.uniform).
the weird thing is, submitted alter few hours before , test passed (but failed lint test) - after removing offending white space, fails.
this first pull request i've done travis-ci build - missing obvious here? can rerun build myself see if happens again? (i don't know why wouldn't .. can't think why it's failing!)
cheers!
you should raise such questions on pr itself. seeing random failure has not been tracked downwards yet. see https://github.com/sympy/sympy/issues/7702.
python testing travis-ci sympy
Comments
Post a Comment