Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-20 Thread Daniel Moody
Yeah, there is to much room for error with floats lining up to the indices for the desired tests. It should take in the test indices I guess, the only drawback being you need to know/calculate the indices before hand. --interval-start INT index in the list of tests to start testing from

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-20 Thread Bill Deegan
Sounds good. Just need to ensure that splitting in quarters doesn't either drop one or run one test twice because of rounding.. -Bill On Wed, Dec 20, 2017 at 9:00 AM, Daniel Moody wrote: > What about this: > > --interval-start FLOAT Percentile as float (0.0 - 1.0)

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-20 Thread Daniel Moody
What about this: --interval-start FLOAT Percentile as float (0.0 - 1.0) of what test to start on from the determined list of all tests --interval-end FLOAT Percentile as float (0.0 - 1.0) of what test to start on from the

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-20 Thread Bill Deegan
Maybe add a flag directly to runtest.py to split up the tests. --test_mod 4 --test_index 0..3 ? Or something to that affect. On Wed, Dec 20, 2017 at 8:27 AM, Daniel Moody wrote: > Hey Andrew, > > I also was working on this. I think in your case the builds timed out due >

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-20 Thread Daniel Moody
Hey Andrew, I also was working on this. I think in your case the builds timed out due to issues with vswhere: https://github.com/Microsoft/vswhere/issues/87 https://github.com/Microsoft/vswhere/issues/91 In this case we will need to use the Visual Studio 2017 image. Also just to note; the issue

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-20 Thread Bill Deegan
Parallel should help. On my buildbot worker (with 2 other builds running single threaded tests) it takes 2:05. So on a reasonably modern machine, -j2 should finish in under an hour if not, try -j3? Or we can split up runs as we've done with the travis run.. -Bill On Wed, Dec 20, 2017 at 5:54

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-20 Thread Andrew Featherstone
I've been trying to get AppVeyor working for Windows-based CI, but we're hitting their 1 hour time limit (see https://github.com/ajf58/scons/blob/appveyor/.appveyor.yml and https://ci.appveyor.com/project/ajf58/scons. My next pass at this will be trying to run the unit tests in parallel (as the

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-18 Thread Jonathon Reinhart
Bill, I'm not sure if you were asking Daniel to enable those versions, or simply if it were possible. The answer to the latter is yes, easily: https://github.com/JonathonReinhart/scuba/blob/master/.travis.yml Jonathon Reinhart On Mon, Dec 18, 2017 at 5:51 PM, Bill Deegan

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-18 Thread Bill Deegan
Daniel, Can we get travis to test with py2.7, 3.5, and 3.6 ? -Bill On Wed, Dec 6, 2017 at 12:03 AM, Bill Deegan wrote: > Thanks! > That's pretty cool. > I'll try to get the coverage hooked up soon. > That'll also be very useful.. > > On Tue, Dec 5, 2017 at 8:27 PM,

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Bill Deegan
Thanks! That's pretty cool. I'll try to get the coverage hooked up soon. That'll also be very useful.. On Tue, Dec 5, 2017 at 8:27 PM, Jonathon Reinhart < jonathon.reinh...@gmail.com> wrote: > Yes, it should automatically do that. > > See this (merged) PR from one of my projects: >

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Jonathon Reinhart
Yes, it should automatically do that. See this (merged) PR from one of my projects: https://github.com/JonathonReinhart/scuba/pull/98 Towards the bottom you'll see a "View Details" button. Clicking that will expand a box showing the results of all the "checks" that ran. On Tue, Dec 5, 2017 at

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Bill Deegan
Is there a way to get travis to post the results back into the pull request? On Tue, Dec 5, 2017 at 8:08 PM, Daniel Moody wrote: > yes it will do a build for each PR automatically, and if the repo making > the PR has travis enabled it will also show the build from that repo

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Daniel Moody
yes it will do a build for each PR automatically, and if the repo making the PR has travis enabled it will also show the build from that repo in the PR. You can see it it in one of the PR now and clicking show all checks: https://github.com/SCons/scons/pull/25 On Tue, Dec 5, 2017 at 11:02 PM,

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Bill Deegan
Does it build on pull request? On Tue, Dec 5, 2017 at 7:51 PM, Daniel Moody wrote: > also email notification is an option so we could include scons-dev on > build notifications, but direct email notifications can't filter on branch. > A web server receiving a webhook

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Bill Deegan
Not needed to have github post to twitter... On Tue, Dec 5, 2017 at 7:34 PM, Daniel Moody wrote: > Writing tweets to twitter will require private API keys, which implies a > private server is needed. > > Is there any private server scons has that could run a small web

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Daniel Moody
also email notification is an option so we could include scons-dev on build notifications, but direct email notifications can't filter on branch. A web server receiving a webhook notification could how ever instead send emails to scons-dev with such a filter. On Tue, Dec 5, 2017 at 10:47 PM,

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Daniel Moody
The web server could filter what results would actually get posted On Tue, Dec 5, 2017 at 10:42 PM, Jonathon Reinhart < jonathon.reinh...@gmail.com> wrote: > Is @SConsProject the Twitter account you're referring to? > > Does SCons really want to post Tweets when a build fails? I've never seen >

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Jonathon Reinhart
Is @SConsProject the Twitter account you're referring to? Does SCons really want to post Tweets when a build fails? I've never seen this before. To me, Twitter is used by open-source projects for things like announcing new releases, bugfixes, special events, etc. and not posting to the world when

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Daniel Moody
Writing tweets to twitter will require private API keys, which implies a private server is needed. Is there any private server scons has that could run a small web server to receive the webhook notification from travis and write the tweet to twitter? For the web server, I was thinking of using a

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Bill Deegan
I'll have to look at appveyor. depends on the available tools. Certainly the hardware seems faster than what our buildbot workers are running on.. On Tue, Dec 5, 2017 at 12:48 PM, Andrew Featherstone < andrew.featherst...@cantab.net> wrote: > I've added my Travis-CI status to the README.rst in

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Andrew Featherstone
I've added my Travis-CI status to the README.rst in https://github.com/ajf58/scons/commit/b2e381c22539898a06a119ed507a6349ca759d38, which you may want to take. >From my perspective I'd like to see 1. Windows based CI on GitHub using https://www.appveyor.com/ (de-facto Windows CI for GitHub). 2.

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Bill Deegan
Great! That's all I can think of at the moment. Thanks, -Bill On Tue, Dec 5, 2017 at 10:19 AM, Daniel Moody wrote: > https://docs.travis-ci.com/user/notifications/ > > IRC is covered. Webhook seems open ended to setup for any site so seems > possible for Twitter messages

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Daniel Moody
https://docs.travis-ci.com/user/notifications/ IRC is covered. Webhook seems open ended to setup for any site so seems possible for Twitter messages with some setup. Any other notification types we are interested in? I'll take a look and submit a PR. On Dec 5, 2017 12:55 PM, "Bill Deegan"

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-05 Thread Bill Deegan
Should be enabled now. Just merged one of your pull requests.. I'll keep an eye on it. Can we get the results to post on twitter? and/or IRC? On Sun, Dec 3, 2017 at 9:08 PM, Bill Deegan wrote: > Yes. I'll get to it in the next week or so. > We do have buildbot doing

Re: [Scons-dev] Enabling Travis CI service for SCons on github

2017-12-03 Thread Bill Deegan
Yes. I'll get to it in the next week or so. We do have buildbot doing similar at : buildbot.scons.org -Bill On Sun, Dec 3, 2017 at 2:02 PM, Daniel Moody wrote: > In this pull request: > https://github.com/SCons/scons/pull/17 > > SCons got a Travis CI script added to the

[Scons-dev] Enabling Travis CI service for SCons on github

2017-12-03 Thread Daniel Moody
In this pull request: https://github.com/SCons/scons/pull/17 SCons got a Travis CI script added to the repo. Travis CI is a free service for running each new commit to github against a testing script (.travis.yml). This takes place on Travis's servers and builds are recorded and accessible via