-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TST: Fix broken tests and make Travis run all tests. #72
Conversation
Travis is not currently running any tests; it is only building the docs. We need it to run the tests, especially with all the fast-paced changes, so we are alerted when a PR contains a breaking change. I put aside All other tests pass. |
Hmm. There's one test still failing. Matt, can you make anything of this Traceback? |
have you merged with Till's fix for a similar problem from a couple days ago, commit ec8e7d0 ? |
Yes. |
I'd like to merge this. Should we remove the test_ci.py here? |
Yes. It's better to have some test coverage, especially on the ever-changing Model class, than none. Let's come back around to |
Now all 27 tests pass on my system, but one is still failing on Travis. We're getting a NotImplementError related to Nelder-Mead. (Full Traceback) I suspect the version of numpy/scipy we are using may differ from mine. It would be helpful if someone else could run
and see if they can reproduce. |
Hi Dan, Yes, scalar_minimize() is relatively new to scipy (0.11) -- a year old or |
Done. I refactored them into separate tests, so the Nelder-Mead one can raise |
Oh, I misunderstood. Either they all need to skipped or (it seems) none. Well, this should work. If Travis passes, merge. |
All tests pass in Python 2. There are some parts of model.py that were not Python 3 compatible -- now fixed. Weirdly, something with |
The docs now build for me, and Travis passes for both Python 2 and 3. |
Once you merge #74, I'll rebase these commits onto master. We should be able to merge it without that, but I'd like to see this actually pass on Travis before we merge on the off-chance there is still a lingering Travis-specific failure. |
Committed. I think it is good to go, but thought Till might want a chance to modify it. |
merged (by hand) |
|
OK thanks -- I wanted to get this merged before cutting way down on coding over the holidays. |
I think I got the bug for test_algebraic_constraints2... |
TST: Put off fixing test_ci for now. TST: Do not install mpl. TST: Skip Nelder-Mead test if not present
OK, so you merged them into master? I rebased this branch, |
Phew! That's a pass. Merge this monster, and let us never speak of it again. :- ) |
TST: Fix broken tests and make Travis run all tests.
Thanks! |
No description provided.