-
Notifications
You must be signed in to change notification settings - Fork 135
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
adding CI support #45
base: master
Are you sure you want to change the base?
Conversation
Sorry for waiting on this. I definitely plan to get travisci support now, I'm just doing some reorganization of the repo into a cleaner state first. |
No worries. My only interest is getting it consistently buildable so I can junk my crappy solution. Mike Izbicki [email protected] wrote:
|
Hi Mike - any movement on this? Happy to put some work into getting a consistent CI system set up, but only if you're at a stage where it would actually be useful. |
Hi Mark. Thanks for following up! Yes, I'm still interested in this. But I don't think it quite makes sense for this repo yet. There's a lot of changes still underway over the next month or two that are likely to entail some major restructuring still. The subhask repo is probably at a place though where it would make sense. I'd be interested in gettng the CI support integrated into the |
I've finally gotten around to getting Travis working. But it turns out they don't yet support GHC 7.10, so we can't use it. |
Hvr has a method for doing it that lets you choose 7.10 - I'll have a look On Thu, 18 Jun 2015 5:16 am Mike Izbicki [email protected] wrote:
|
I think I've figured it out. I should be pushing out the changes in a bit. |
I've finally got Travis working on the subhask repo. (See https://travis-ci.org/mikeizbicki/subhask) But there's two things I haven't figured out to my satisfaction:
|
Once I've figured out if there's solutions to these problems I'll add travis to hlearn as well. |
I think you'd want to use travis artifacts http://blog.travis-ci.com/2012-12-18-travis-artifacts/ mark On Mon, Jun 22, 2015 at 6:15 PM Mike Izbicki [email protected]
|
Assuming you're most worried mostly about gross degradations - O(n) -> O(n^2) say - you can always wrap the benchmark in a test and log an error on unacceptable performance. One trick is to measure performance on n=100 and n=1000 say, then have the test guess the order. |
I'm really interested inconstant factor performance. I want to catch the scenario where a function that used to take 300ns goes up to 350ns on the same input. |
I've completely redone the testing interface, so it's much improved. Thanks for the push in this direction :) Unfortunately, Travis builds sometimes fail due to GHC using too much memory. I think the best way to get around this is to disable optimizations on the travis build, but I haven't figured out how to do this. So basically everything is working, but I can't but the |
Great to hear it, looking forward to having the chance to play with HLearn a bit more seriously:) |
(would cabal configure --disable-optimization be what you're looking for?) |
I thought so too, but it doesn't seem to actually do anything for me. |
Is this PR still relevant? It seems that master has a .travis.yml file already |
simple config for travisci.
you can see the build records at https://travis-ci.org/mwotton/HLearn/ now.